in reply to Re^2: Why chomp doesn't work?
in thread Why chomp doesn't work?
You forgot your </pedant> tag there. :)
This is correct, in memory it is represented as a single \cJ and the translation (on a filehandle that binmode hasn't been enabled on) to/from \cM\cJ happens when passing through STDIO's claws. See ISSUES / Newlines in perldoc perlport for the gory details.
|
|---|