Help for this page

Select Code to Download


  1. or download this
    if (@ARGV){
        foreach my $path(@ARGV){
    ...
            $i++;
        }
    } else {die ("No input files specified.\a\n");}
    
  2. or download this
    print STDERR ("Directory \'$$pref{changedir}\' aleady exists. Overwrit
    +e?\n".
      "[Y(es)/N(o)/R(eselect destination)/C(lobber all duplicates)]".
    ...
    my $answer = <STDIN>;
    chomp ($answer);     # line 106 (see below)
    print "$answer\n";   # for testing purposes
    
  3. or download this
    Use of uninitialized value in scalar chomp at script.pl line 106.