Category Archives: p5p

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 , , | Comments closed

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 , , | Comments closed

New prototype accepted; next patch almost done

My patch for a new perl prototype was accepted and should be in Perl 5.13.7 in November. From the change log: Add single-term prototype The C prototype is a special alternative to C that will act like C when given a literal array or hash variable, but will otherwise force scalar context on the argument. […]

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

Why I want a new prototype in the perl core

Most of the time, you shouldn't use Perl's function prototypes. They aren't function signatures the way you expect. Instead, they mostly help the parser understand how to interpret arguments using the right context. Here is a simple example: The '$' prototype says that foo takes a single argument in scalar context. Consider this: If your […]

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

What's new in Perl 5, Version 13

I have updated my Perl 5, Version 13 lightning talk slides to reflect everything through perl 5.13.5. I call this a "perldeltadelta" -- a much shorter summary of the perldelta with just the most significant things that you should know about. I gave the original talk at OSCON this year, right after I had just […]

Also posted in perl programming | Tagged , | Comments closed

© 2009-2017 David Golden All Rights Reserved