I want to pass a hash to a subroutine like:
myroutine(%hash);
Then have the routine create a reference to that hash and finally manipulate the referenced hash.
Afterwards, %hash would contain the changes made in myroutine...
Wy won't this work/what will work?
sub myroutine {
$hash_ref = \(shift);
$$hash_ref{foo}='bar';
}