in reply to Re: Array of Hashes
in thread Array of Hashes

why, using the -> notation, keys do not go in quotes?

They do -- the quotes are just optional. You might need the quotes if the key name collides with a built-in function such as 'shift'

In the following, what is the type of mykey? $myhash_ref->{mykey};

That would be equal to the string 'mykey'

Replies are listed 'Best First'.
Re^3: Array of Hashes
by tobeythorn (Initiate) on Oct 28, 2011 at 20:03 UTC
    Thanks vroom. I will be explicit then and use the quotes.