![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: Counting the number of items returned by split without using a named arrayby Anonymous Monk |
on May 03, 2006 at 13:34 UTC ( #547148=note: print w/replies, xml ) | Need Help?? |
My bias goes towards either
or
as "most elegant". It's both sufficiently short, although I'm not sure which one is easier to understand for the uninitiated reader :) Just out of curiosity (it doesnt really matter in my case): which one would be the more (CPU- and memory-) efficient one? I.
In Section
Seekers of Perl Wisdom
|
|