|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: Trouble getting size of list returned from subby DrHyde (Prior) |
| on Nov 26, 2012 at 12:24 UTC ( #1005628=note: print w/ replies, xml ) | Need Help?? |
|
$ perl -E 'sub foo { qw(a b c d) } say $#{[foo()]} + 1'
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||