It is because of ^M characters. See
outputcat -ev yourfile
Try adding after first chomp:
s/^M//g;
To write ^M in vim : CTRL-v CTRL-M
Or use dos2unix tool ..
Regards,
In reply to Re: hash of arrays
by i5513
in thread hash of arrays
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |