Help for this page

Select Code to Download


  1. or download this
    my @foo = split //, $foo;
    $foo = shift(@foo) . q{(.*?)} . join q{\2}, @foo;
    ...
    while ( my $line = <FH> ) {
        s/($foo)/$stuff1$1$stuff2/g;
    }