- or download this
$myHash{"uno"} = "one";
$myHash{"dos"} = "two";
...
$myHash{"tres"}->[1] = "three-point-one";
$myHash{"tres"}->[2] = "three-point-two";
$myHash{"quatro"} = "four";
- or download this
@myArray = @{$myHash{"tres"}}; #DeRef & Copy to @myArray
$myArray[3] = "three-point-three";
$myArray[4] = "three-point-four";
- or download this
@{$myHash{"tres"}} = @myArray; #Copies Array to Hash
$myHash{"tres"} = \@myArray; #Copies Ref to Hash
- or download this
\@myArray = $myHash{"tres"};