Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.
Because of some weird mental block, I'm always forgetting the syntax of the prototype command. Thus, I now use this bash alias:
alias prototype="perl -le 'print prototype qq<CORE::@{[+shift]}>'"
And from the command line:
$ prototype bless
$;$
Hmm, bless has a prototype, eh? I should try to override it. I might just be able to create object instantiation graphs with this.
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