good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: Memory efficiency, anonymous vs named's vs local subroutinesby AnomalousMonk (Archbishop) |
on Jul 18, 2015 at 21:14 UTC ( [id://1135331]=note: print w/replies, xml ) | Need Help?? |
I will stick in simple named functions... Simplicity is always a good goal and a good yardstick for judging your code. But I don't want to discourage you from using anonymous lexical subroutines: they work, and they work the way you think they work! In fact, Dominus wrote a whole book (freely available here — and highly recommended!) that's essentially just a zillion ways to use anonymous lexical subroutines. Give a man a fish: <%-(-(-(-<
In Section
Seekers of Perl Wisdom
|
|