Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    ...
    $var =~ s/\Q$search/$replace/;
    
    print "\$var[$var]\n";
    
  2. or download this
    ken@titan ~/tmp
    $ perl -v
    ...
    ken@titan ~/tmp
    $ ./pm_11152209_re_backslashes.pl
    $var[\KeepMe]
    
  3. or download this
    C:\cygwin64\home\ken\tmp>perl -v
    
    ...
    
    C:\cygwin64\home\ken\tmp>perl pm_11152209_re_backslashes.pl
    $var[\KeepMe]