Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: To glob or not to glob

by karlgoethebier (Abbot)
on Jan 08, 2018 at 12:19 UTC ( #1206905=note: print w/replies, xml ) Need Help??


in reply to To glob or not to glob

"... those of course recurse into subdirectories by default"

Yes, sure. But the iterator from Path::Tiny takes recurse => 0 as argument. And File::Find::Rule takes maxdepth( $level ). Same behavior as find with -maxdepth n - less or more. Hence no need to glob?

Minor edit: Changed wording because of bad English...

Best regards, Karl

«The Crux of the Biscuit is the Apostrophe»

perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2022-05-17 21:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (68 votes). Check out past polls.

    Notices?