Category Archives: p5p

Quick update: getting bleadperl ready for META.json

The latest development releases of Parse::CPAN::Meta now support both META.yml and META.json files. By default, it uses JSON::PP for the META.json files. Accordingly, JSON::PP has just been added to the Perl core. (Thank you to Makamaka for his work getting JSON::PP ready for bleadperl.) There's more work on the horizon, but I expect to get [...]

Also posted in cpan-meta-spec, toolchain | Tagged , | 1 Comment

Creating a YAML::Tiny doppelgaenger

Recently, I needed to clone a distribution on CPAN and release it under a new name. I also need to keep it in sync with the original distribution. Rather than do any of that by hand, I decided to whip up a Dist::Zilla plugin (two, actually) to do the job for me. The background for [...]

Also posted in cpan, cpan-meta-spec, dzil, perl programming | Tagged , | 1 Comment

Patching the Perl core for lazy file handle objects

Last night I was inspired to patch the Perl core to load IO::File on demand when calling a method on a file handle would otherwise die. This effectively makes file handles actual "lazy" IO::File objects. If you want to use file handles procedurally, you never need IO::File. But if you try to treat handles as [...]

Also posted in perl programming | Tagged , , | 5 Comments

What's New in Perl 5, Version 13 (updated)

I've updated my Perl 5, Version 13 talk to include the latest new features from 5.13.6 and 5.13.7. Some of the highlights: New regex modifiers to force unicode or locale-specific semantics (5.13.6) Regular expression retain original semantics when interpolated later (5.13.6) Array and hash functions (push, pop, keys, etc.) work on array and hash references [...]

Also posted in perl programming | Tagged , , | Leave a comment

Bootstrapping CPAN.pm using HTTP::Lite

One of my goals for Perl 5.14 that I've discussed with Jesse Vincent and Andreas Koenig is getting CPAN.pm to be able to bootstrap itself in a fresh perl installation without relying on external command line tools or FTP. LWP is too big a distribution to bundle into the core, but HTTP::Lite is a focused [...]

Also posted in cpan, perl programming | Tagged , , | 5 Comments

© 2009-2012 David Golden All Rights Reserved