"... 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
In reply to Re: To glob or not to glob
by karlgoethebier
in thread To glob or not to glob
by haukex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |