Help for this page

Select Code to Download


  1. or download this
    my @ARGV ="C:/Main/work"; 
    die "Need directories\n" unless @ARGV;
    
  2. or download this
    my $default_dir = "C:/Main/work";
    if (@ARGV == 1) 
    ...
    };
    # $default_dir remains in effect if there was not 
    # exactly one command line argument