Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: pushing hash values to an arrayby davorg (Chancellor) |
on Oct 16, 2006 at 11:24 UTC ( [id://578473]=note: print w/replies, xml ) | Need Help?? |
Perhaps you should try fixing the errors that you get when running this code. With "use strict" enabled, this code doesn't run at all because you haven't declared any of your variables. Once you've fixed those problems, you'll see that you are refering to a hash reference, $h which doesn't exist anywhere in your code.
-- <http://dave.org.uk> "The first rule of Perl club is you do not talk about
Perl club."
In Section
Seekers of Perl Wisdom
|
|