Hash of Arrays, p. 276
- From: matthewsacks1415@xxxxxxxxx (Matthew Sacks)
- Date: Sat, 28 May 2005 13:54:25 -0700 (PDT)
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
- Follow-Ups:
- Re: Hash of Arrays, p. 276
- From: Peter Rabbitson
- Re: Hash of Arrays, p. 276
- Prev by Date:
Database independent code - Next by Date:
Re: remove duplicate lines - Previous by thread:
Database independent code - Next by thread:
Re: Hash of Arrays, p. 276 - Index(es):