Help for this page

Select Code to Download


  1. or download this
    sub DelTask{
        my ($w1) = shift;
    
        my $m1 = $w1 . '/*';
        my @d1 =  glob $m1;
    
  2. or download this
        unless (-d $w1)
        {
            warn "argument to DelTask is not a directory.\n";
            return;
        }
    
  3. or download this
        my @d1 = glob "$w1/*";
    
  4. or download this
        foreach my $f (@d1)
        {
            
            my $d1 = basename($f);
    
  5. or download this
            if ($d1 =~ /^white*/)
    
  6. or download this
            if ($d1 =~ /^\s+/)
    
  7. or download this
            {
              my $f1 = $f . '*';
    ...
            }
        }
    }
    
  8. or download this
    DelTask($o_dir);