@a = (1 .. 10); func(\@a); sub func{ @b = @{ shift() }; for(@b){ print $_, $/; } }
In reply to Re: reference array and pass ref to sub
by smokemachine
in thread reference array and pass ref to sub
by csarid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |