cybermack72 has asked for the wisdom of the Perl Monks concerning the following question:
Please drop some knowledge on a brotha....!!!opendir(DULS, 'D:\COLD\DULS'); chdir 'D:\COLD\DULS'; @files = glob ('cold*'); foreach $file (@files) { print CBDOWNLOAD "Cold Backup file exists for DULS for $FileName.\n" i +f ($file =~ m/^cold/); system ('awtrap -h RLGH -f DULS "DULSVASG001: Unable to download the +file."') if ($file !~ m/^cold/); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File check w/no files
by VSarkiss (Monsignor) on Nov 29, 2001 at 04:50 UTC | |
by cybermack72 (Novice) on Nov 29, 2001 at 21:01 UTC | |
|
Re: File check w/no files
by chip (Curate) on Nov 29, 2001 at 04:34 UTC | |
|
Re: File check w/no files
by buckaduck (Chaplain) on Nov 29, 2001 at 21:16 UTC | |
|
Re: File check w/no files
by MZSanford (Curate) on Nov 29, 2001 at 16:12 UTC |