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