Help for this page

Select Code to Download


  1. or download this
    
    $orig='aaa([\+\-]{1})bbb';
    ...
    $str=$orig;
    $str =~ s!$bre!!;
    print "Replace against variable bslashed => $bre <=: $str\n";
    
  2. or download this
    c:\temp> D:\perl58\bin\perl.exe re.pl
     D:\perl58\bin\perl.exe re.pl
    ...
    This is perl, v5.6.1 built for MSWin32-x86-multi-thread
    (with 1 registered patch, see perl -V for more detail)