![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Loading an anonymous hashby why_bird (Pilgrim) |
on Mar 19, 2008 at 15:27 UTC ( #675022=note: print w/replies, xml ) | Need Help?? |
Nicely done. I remember trying to do something like this a while back and struggling for a long time because my hash was not properly localised. You have to make sure that my %Employee_Rec is my'd inside that while loop otherwise it will no longer be anonymous and all you'll get is an array full of references to the same hash---the last one you entered... Those are my principles. If you don't like them I have others. -- Groucho Marx .......
In Section
Seekers of Perl Wisdom
|
|