Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    $value =~ s/$match/$edits{$1}/g;
    
    print $value;
    
  2. or download this
    This string is all foobar, but a little Perl should swap the bars and 
    +foos