"be consistent" | |
PerlMonks |
Re^3: Get the length of a list.by zork42 (Monk) |
on Jul 29, 2013 at 04:11 UTC ( [id://1046764]=note: print w/replies, xml ) | Need Help?? |
You are correct choroba.
Thanks for pointing out my error :) perldata - Context highlights the difference between scalar(array) and scalar(list): If you evaluate an array in scalar context, it returns the length of the array.
In Section
Seekers of Perl Wisdom
|
|