$line =~ s/[\r\n]+$//; [download]
Dave.
In reply to Re: Chomp doesn't seem to work by dave_the_m in thread Chomp doesn't seem to work by JaredHess