passing arrays you need to use references
Yes, but see also yesterday's meditation by grantm on how to use prototypes to hide the use of references
and make team_update ( @Values, @teams ) work as intended.
Cheers, Sören
In reply to Re^2: arrays passed into subroutines
by Happy-the-monk
in thread arrays passed into subroutines
by amadain
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |