Yes, just access the hash by reference
sub play_around { my $hashref = shift; # This will effect the outside hash $hashref->{leggo} = "yes"; ... }
That's what you're doing when you use ${$_[0]}{leggo}.
In reply to Re: passing of variables
by wind
in thread passing of variables
by itsscott
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |