|
|
| P is for Practical | |
| PerlMonks |
Re: adding non printable characters in perl's print functionby redlemon (Hermit) |
| on Feb 21, 2007 at 10:20 UTC ( [id://601304]=note: print w/replies, xml ) | Need Help?? |
|
A quick way to check your output to see everything you put in comes out is to use the 'od' command (on any unix-like box): perl -e 'print ":Hello ^M world:\n"' | od -cThis will give you 0000000 : H e l l o \r w o r l d : \n--
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||