in reply to Looking for backslashed characters
Of course you may want to replace other escape characters, in which case you'll probably want to check you the ascii table (see. man ascii(7).%ctrl_chars = ("\n" => '\n', "\t" => '\t', "\r" => '\r'); $line =~ s/$_/$ctrl_chars{$_}/ for (keys %ctrl_chars);
broquaint
|
|---|