reading above paragraph from perlsub, and i don't really quite get this sentence..
If an argument is an array or hash element which did not exist when the function was called, that element is created only when (and if) it is modified or a reference to it is taken.
does it mean that the following should print 1 (but it doesn't)? perl -le 'x(@y);sub x{$_[0]=1;print @y}'
In reply to perlsub question.. by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |