Help for this page

Select Code to Download


  1. or download this
    $nl = "\n";   # newline
    $nl = '\n';   # backslash n
    $nl = qq(\n); # newline
    $nl = q(\n);  # backslash n
    
  2. or download this
    for (@input) {
      s/\\n/\n/g; # replace \n with newline
      s/\\t/\t/g; # replace \t with tab
    }