in reply to printing escape characters

There are many non-Perl solutions to this problems. For example, you could use od in unix. Also, many text editors (including UltraEdit and Word in Windows) have the option of displaying whitespace.