in reply to Different hashes?
You're clearing out the entire hash each time through the loop and replacing it with new contents. You want push @{ $AllProducts{ $Category } }, [ $ID, [ $Name, $Type, $Size ] ]. See perldoc perlreftut, perldoc perldsc, and perldoc perllol.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Different hashes?
by Happy-the-monk (Canon) on Mar 26, 2004 at 15:12 UTC | |
by Fletch (Bishop) on Mar 26, 2004 at 16:19 UTC |