Hash of Arrays, p. 276



Greetings:
I am continuing to read the Camel Book. I am reading about complex data structrures. On page 276, there is an example of a HoA. (I am typing from memory so this may not be exactly correct)
$HoA{"flintstone"}[0] = "fred";
Please look at the definition and initialization of the hash. It is a hash of array references, isn't it? Why does

$HoA{"flintstone"}[0] work, why is not it: $HoA{"flintstone"}->[0] ????

-matthew s


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com