in reply to passing of variables

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}.

Replies are listed 'Best First'.
Re^2: passing of variables
by itsscott (Sexton) on May 06, 2011 at 17:58 UTC
    Sheash, it must have been far too late last night at 1am. This worked nicely in my test, Thanks to all for the help. I could have sworn I tried something like this, but obviously not quite this ;-) Thank you Wind! (and the other posters!)