I just made the code and output clearer and added a question.
> You never pass an array or hash, just references to them. It's not even possible to pass arrays or hashes to subroutines.
Thats a matter of interpretation, the behaviour of push @arr, "elem" can be reproduce with prototypes sub name (\@@)
Cheers Rolf
In reply to Re^2: Reference of constants and literals
by LanX
in thread Reference of constants and literals
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |