# call the sub with a local hash play_around( \%toys ); sub play_around { my ( $t ) = @_; $t->{ leggo } = 'yes'; # this will modify the actual %toys which is what I want. }
In reply to Re: passing of variables
by jwkrahn
in thread passing of variables
by itsscott
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |