Help for this page

Select Code to Download


  1. or download this
    # Reverses each line in the given file
    # and replaces that file with the reversed copy
    ...
    close $in;
    close $tmp_fh;
    move($tmp_name, $filename);