in reply to Re: Assign and print Hash of hashes
in thread Assign and print Hash of hashes

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.

Replies are listed 'Best First'.
Re^3: Assign and print Hash of hashes
by kcott (Archbishop) on Nov 22, 2010 at 08:51 UTC

    Thanks for pointing that out. I've reworded the sentence.

    -- Ken