in reply to Re: Loading an anonymous hash
in thread Loading an anonymous hash
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