in reply to Unable To Replace Escape Sequences With 1-Char Equivalents
use String::Escape qw( unprintable ); print unprintable( "\\n" ); [download]