in reply to Passing hashes by reference
By saying, my %h_ref = %{+shift}; in the sub, you make a copy of the hash which all your work goes into. Instead,
That works on the original external hash.my $h_ref = shift; # ... $h_ref->{'one'}= 'thing_' . $tail; # etc
After Compline,
Zaxo
|
|---|