NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Why the +? (Score:1)
Re: (Score:2)
Habit. It's not necessary. Thanks for pointing that out :)
Re: (Score:1)
The + has the same effect as scalar.
Devel::Leak::Object (Score:2)
Forget the shopping cart (usually) (Score:1)
One of my YAPC takeaways:
${\()}is usually preferable over@{[]}. One thing is that the dollar and parentheses are visually lighter than the at-sign and brackets, respectively – and much of the time the expression is just a function call, in which case you don’t even need the parentheses at all. Incidentally, creating a scalar ref and interpolating a scalar is a good deal cheaper than creating and interpolating an array, which matters in loops.Unfortunately in this particular case it interacts