Help for this page

Select Code to Download


  1. or download this
    my $filename = shift @ARGV;
    unless ($filename) {
    ...
            # copy file to directory
        }
    }
    
  2. or download this
    if (!@ARGV) {
        print "Enter file name(s) to be backed up, separated by spaces:\n"
    +;
    ...
    else {
        $filename = shift(@ARGV);
    }