in reply to Re: hash of arrays
in thread hash of arrays

Thanks the problem solved by adding this after the chomp.
s/\r//g;