Help for this page

Select Code to Download


  1. or download this
    # uninterpolated string
    my $string = '\\\\ double escape \single escape';
    ...
    print "$string\n";
    
    # output is '\\\\ double escape \\single escape'
    
  2. or download this
    $string = '\hello';
    
    # and
    
    $string = '\\hello';