|Perl Monk, Perl Meditation|
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||Need Help??|
My bias goes towards either
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?