To complete stevieb's example, you can retrieve a value thusly:
my $retrieve = $hash{ key } -> [1] ; # returns "b" (The "->" is opti +onal)
I hope life isn't a big joke, because I don't get it.
-SNL
In reply to Re^3: Is it possible to assign an array reference to a value in hash
by NetWallah
in thread Is it possible to assign an array reference to a value in hash
by snape
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |