in reply to
Trouble getting size of list returned from sub
$ perl -E 'sub foo { qw(a b c d) } say $#{[foo()]} + 1'
Comment on
Re: Trouble getting size of list returned from sub
Download
Code
In Section
Seekers of Perl Wisdom