Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: File searching *

by BillKSmith (Prior)
on Mar 02, 2020 at 05:05 UTC ( #11113618=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11113618]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2020-11-30 12:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?