Help for this page

Select Code to Download


  1. or download this
    sub mirror {
        my($self, $url, $file) = @_;
    ...
        my $tmpfile = "$file-$$";
    
        rename( $tmpfile, $file ) or die "Cannot rename '$tmpfile' to '$fi
    +le': $!\n";