![]() |
|
Just another Perl shrine | |
PerlMonks |
Re: How to insert Hexadecimal charactersby JavaFan (Canon) |
on Dec 03, 2009 at 10:03 UTC ( #810794=note: print w/replies, xml ) | Need Help?? |
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}";
In Section
Seekers of Perl Wisdom
|
|