in reply to Re: Why doesn't this print when i omit the newline?
in thread Why doesn't this print when i omit the newline?

D'oh! That hurts!

Best regards and thank you, Karl

«The Crux of the Biscuit is the Apostrophe»

  • Comment on Re^2: Why doesn't this print when i omit the newline?

Replies are listed 'Best First'.
Re^3: Why doesn't this print when i omit the newline?
by Anonymous Monk on Dec 16, 2014 at 17:31 UTC

    See Data::Dumper's Useqq option, or Data::Dump:

    $ perl -MData::Dumper \ -le '$Data::Dumper::Useqq=1; print Dumper("foo\r\n")' $VAR1 = "foo\r\n"; $ perl -MData::Dump=pp -le 'print pp("foo\r\n")' "foo\r\n"