in reply to Re^2: Help creating a data structure out of a delimited string
in thread Help creating a data structure out of a delimited string

Dang. Can you really do that?

Accessing a hash with the array op like that? ANd how do you garantee they map value to key?

I bow to your perliness.

  • Comment on Re^3: Help creating a data structure out of a delimited string

Replies are listed 'Best First'.
Re^4: Help creating a data structure out of a delimited string
by jwkrahn (Abbot) on Dec 15, 2010 at 21:56 UTC

    Yes, it is called a hash slice.    And, the for loop in toolic's code assumed the same mapping.

      I just typed it in just to play with (and remember) it. Very cool. Thanks! --Ray