in reply to Re^2: Is it possible to assign an array reference to a value in hash
in thread Is it possible to assign an array reference to a value in hash

It is unclear whether you consider your (updated) question answered.

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

  • Comment on Re^3: Is it possible to assign an array reference to a value in hash
  • Download Code