![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Extracting array of hashes from databy wog (Curate) |
on Jun 10, 2001 at 00:32 UTC ( #87229=note: print w/replies, xml ) | Need Help?? |
This line seems to be your problem:
you probably really meant to push %temphash on to the array ref in $alldata{$key}. In that case you can reference that array with @{ $alldata{$key} }. Then you can just push a reference to %temphash on top of it:
(the array will be automatically created as needed) Of course see perldsc and perlref if you haven't already. update: Typo fixed. Thanks srawls.
In Section
Seekers of Perl Wisdom
|
|