This bit will stop working once you start getting multi-digit IDs:
$key = $1 if /^ID=(.)/;
You'll want this instead:
$key = $1 if /^ID=([^\s]+)/;
Otherwise you'll end up silently overwriting previous entries.
In reply to Re^2: Having an Issue updating hash of hashes
by AppleFritter
in thread Having an Issue updating hash of hashes
by perlguyjoe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |