Help for this page

Select Code to Download


  1. or download this
    use Env qw( $HOME );
    use File::Path qw( mkpath );
    ...
    my $new_file = "$backup_location/$basename.bak";
    
    copy("$some_file", "$new_file") or die "got problems: $!";