When you push something onto @arr, how should $val be affected?
What do you want to achieve, and how does it not work in your second case? Maybe you shouldn't use single quotes around $str?
In reply to Re: Push + variable argument
by moritz
in thread Push + variable argument
by himanshu.padmanabhi
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |