The glob function takes care of existance and gives an initial filter. It might be able to do the whole job, but I'm not familiar with its quirks on your platform.my $path = "C:\\\\Ba\\Log\\"; # or whatever this win32 stuff will take my @goodnames = grep {$_ !~ m/Incorrect/} glob($path*ULOG*);
After Compline,
Zaxo
In reply to Re: Pathname\Filename Filtering
by Zaxo
in thread Pathname\Filename Filtering
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |