this will remove newlines which are probably in your hash values
sundeep is using split /\s+/,$file[$i]; which will remove ALL whitespace so there definitely will not be any newlines in the keys or values.
In reply to Re^2: Assign and print Hash of hashes
by jwkrahn
in thread Assign and print Hash of hashes
by sundeep
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |