Help for this page

Select Code to Download


  1. or download this
    # assuming INFILE and OUTFILE are already open,
    # and string variables are already set...
    ...
    $filedata =~ s/$match/$replace/;
    
    print OUTFILE $filedata;