http://qs321.pair.com?node_id=11113618


in reply to File searching *

Perhaps this is what you mean.
use strict; use warnings; my $name = 'user_supplied.txt'; my @errs = grep {$_ !~ /\.log$/ and $_ ne $name} glob(".* *"); print do{local $" = "\n"; "@errs\n"};
Bill