"be consistent" | |
PerlMonks |
Re^4: chomp() is confusingby Anonymous Monk |
on Oct 06, 2013 at 18:35 UTC ( [id://1057181]=note: print w/replies, xml ) | Need Help?? |
Good news, as of Perl 5.1, you can use the \R
$line =~ s/\R//g;
It will figure it out.
In Section
Seekers of Perl Wisdom
|
|