This isn't a code writing service. For one reason or another you've chosen perl as the tool for this job. Learn how to use it:
In reply to Re^2: reading a text file into hash
by marto
in thread reading a text file into hash
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |