in reply to Getting an Array Reference Into an Array
or, use a reference assignment in your mainline code:sub HandleTres{ my $tresRef = shift; $tresref->[0]= "Something else"; }
my $TresRef = $myHash{tres}; $TresRef->[1] = "Tres punto uno";
"For every complex problem, there is a simple answer ... and it is wrong." --H.L. Mencken
|
|---|