Make the following change to your code:
- %AllProducts = ($Category => [$ID, [$Name, $Type, $Size]]);
+ push @{ AllProducts{$Category} }, ( $ID, [$Name, $Type, $Size] );
what was wrong?
Cheers, Sören
In reply to Re: Different hashes?
by Happy-the-monk
in thread Different hashes?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |