Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: file test results not as expected

by navalned (Sexton)
on Nov 22, 2020 at 00:00 UTC ( #11123996=note: print w/replies, xml ) Need Help??


in reply to Re: file test results not as expected
in thread file test results not as expected

Thats cool and works well. You can try this for a 5 sec improvement at least on my system:

grep { -x "$path/$_" && !-d _ }

Saves a lot of stat() calls.

Thanks for the answer. I think I knew the answer deep in the recesses of my brain but couldn't see it.
Edgar

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (1)
As of 2022-01-16 11:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (49 votes). Check out past polls.

    Notices?