Don't ask to ask, just ask | |
PerlMonks |
Re: Different hashes?by tcf22 (Priest) |
on Mar 26, 2004 at 15:04 UTC ( [id://340033]=note: print w/replies, xml ) | Need Help?? |
You are overwriteing the key in %AllProducts every loop. You need to make the hash value an array ref then push onto it. Try this:
- Tom
In Section
Seekers of Perl Wisdom
|
|