And I think your subroutine is returning a list, not an array.$a = (10, 20, 30); # $a = 30 @nums = (10, 20, 30); $a = @array; # $a = 3
buckaduck
In reply to Re: List context or not?
by buckaduck
in thread List context or not?
by sguazt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |