in reply to referring to anonymous array in value of a hash in array context...
Unless the array is huge, it's easier to access the values directly through the for loop
$hash{"array"} = ['a','b','c','d','e']; print for @{ $hash{ array } }; a b c d e
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: referring to anonymous array in value of a hash in array context...
by Fletch (Bishop) on Jul 08, 2004 at 01:34 UTC |