![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re: Counting the number of items returned by split without using a named arrayby lima1 (Curate) |
on May 03, 2006 at 10:09 UTC ( #547105=note: print w/replies, xml ) | Need Help?? |
don't know if it's the "most elegant way", but if you don't want to generate an array, count the blanks, e.g.:
In Section
Seekers of Perl Wisdom
|
|