Next Program Repair Shop 76

Function Arguments

    18     my ($pwd,$i)=($_[0],$i++);
          my ($src,$dst) = @_;
    19     die "You have not defined the \$target_directory variable, sorry...\n" 
             unless  -e $target_directory;
    20     die "You have not defined the \$source_directory variable, sorry...\n" 
             unless  -d $source_directory;
     unless (@_ == 2) { die('Usage: xcopy($src, $dst)') }


Next Copyright © 2002 M. J. Dominus