in reply to Different hashes?
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