in reply to Why chomp() is not considering carriage-return
In addition to the excellent advice given by other monks above, you might also find it useful to read the section on newlines in perldoc perlport.
--
<http://dave.org.uk>
<http://dave.org.uk>
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In Section
Seekers of Perl Wisdom