in reply to Re: Extracting array of hashes from data
in thread Extracting array of hashes from data
I'm still running into a problem using push @{ $alldata{$key} }, \%temphash;
For instance, try: print "$alldata{PROTSIM}[2]{PCT}\n"; at the end of the file. You'll get an Use of uninitialized value at test.pl line 24, <DATA> chunk 35. error. What's strange is that: print "$alldata{PROTSIM}[2]{ORG}\n"; is AOK.
Anyone have any ideas?
I have not read perldsc but I certainly will. Looks useful.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar";
$nysus = $PM . $MCF;
In Section
Seekers of Perl Wisdom