Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^5: What's so bad about &function(...)?by Anonymous Monk |
on Dec 08, 2005 at 16:48 UTC ( [id://515294]=note: print w/replies, xml ) | Need Help?? |
But why is @{\@foo} wrong? Whatever the answer is, the same could be said of &foo() (aside from the extremely tiny overhead of taking and dereffing a ref).
It's only wrong in the sense that: $great_answer=(((1+1)**(1+1+1))-1)*(1+1+1)*(1+1);
is "wrong"; it's too complicated, and "should" read: (Alternatively, it's overly complicated for some good reason which was left undocumented, which is IMHO more wrong. :-) )
In Section
Meditations
|
|