Help for this page

Select Code to Download


  1. or download this
    $text = 'h\te\nl\l\t\(o\)\n';
    print "$text\n";
    %token = ('\n'=>"\n", '\t'=>"\t" , '\('=>'(', '\)'=>')');
    $text =~ s/(\\.)/$token{$1}||$1/ges;
    print "$text\n";