Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.
After noticing a bunch of duplicated code, I realized that a particular value which needed to be munged only if it was set could be refactored as follows:
$message &&= $cgi->p($message);
I always forget about that construct, but when you need it, it's great!
Why have I never seen that before (Score:2)
That is so cool and useful, why have I not seen it before? I must re-read my Perl books, I must have missed tonnes of stuff like that.
-- "It's not magic, it's work..."
Re: (Score:2)
In 5.10, I don't think there's going to be a corresponding feature for this:
You still have to write:
Re: (Score:2)
This is one of the Perl 6 ideas that everyone wants back-porting I think.
I see that &&= is explained on page 92 of my Programming Perl 2nd edition. Not coming from a c background I missed the utility of some of these.
-- "It's not magic, it's work..."