in reply to Getting an Array Reference Into an Array
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";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getting an Array Reference Into an Array
by qazwart (Scribe) on Jun 07, 2006 at 20:34 UTC |