in reply to How to insert Hexadecimal characters
Actually, you are wrong. print "\n" prints a logical newline - it will output the bytestring which is the appropriate "newline" for the current platform.
In your case, I would do: print "\x{0D}\x{0A}";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to insert Hexadecimal characters
by bobf (Monsignor) on Dec 04, 2009 at 03:10 UTC |
In Section
Seekers of Perl Wisdom