Why don't you do this:
my @myArray = qw/three-point-oh three-point-one three-point-two/; $myHash{"tres"} = \@myArray; # then do everything onto @myArray; push @myArray, "three-point-three", "three-point-four"; # And $myHash is automatically updated print join(' ', @{$myHash{"tres"}}), "\n";
In reply to Re: Getting an Array Reference Into an Array
by debiandude
in thread Getting an Array Reference Into an Array
by qazwart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |