Help for this page

Select Code to Download


  1. or download this
    use strict;
    use File::Copy qw ( move );
    ...
        next unless -f $filename;
        move ($filename, $dirname . "/" . $iterator++) or warn "could not 
    +rename file";
    }