in reply to Pathname\Filename Filtering

my $path = "C:\\\\Ba\\Log\\"; # or whatever this win32 stuff will take my @goodnames = grep {$_ !~ m/Incorrect/} glob($path*ULOG*);
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.

After Compline,
Zaxo