I think this is all you need:
$descHash{ $file } = $text;The previous keys/values are preserved - you don't have to add them again each time.
This will help you to find out what's up with $text:
print $text;In reply to Re: Question about hashes
by fglock
in thread Question about hashes
by wizard341
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |