Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: 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 reply to Re: Extracting array of hashes from data
by wog
|
|