according to the perlsub sub size (+;@) { } could be used, to call
size @array
or
size 1,2,3
but since I'm using 5.10, I can't test it...
Cheers Rolf
In reply to Re^4: new keyword "size" to avoid scalar trap ? ( scalar @array != scalar(LIST) )
by LanX
in thread new keyword "size" to avoid scalar trap ? ( scalar @array != scalar(LIST) )
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |