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.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: chomp() is confusing
by davorg
in thread Why chomp() is not considering carriage-return
by jesuashok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |