Help for this page

Select Code to Download


  1. or download this
    # used by munge function to safely interpolate
    # $1, $2 etc into the replacement string
    ...
        $_[0] =~ s/\$(\d)/$P[$1]/g;
        $_[0];
    }
    
  2. or download this
    # used by munge function to safely interpolate
    # $1, $2, etc. into the replacement string
    ...
      $_[0] =~ s/\$(\d+)/$P[$1]/g;
      $_[0];
    }
    
  3. or download this
    #!/usr/bin/perl
    
    ...
    }
    
    exit;