"Removing directory references '.' and '..' from the listing"
BTW: use Path::Tiny; @paths = path($dir)->children;
"Returns a list of Path::Tiny objects for all files and directories within a directory. Excludes "." and ".." automatically."
Automatically sounds always good, right?
See Path::Tiny
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^2: Capturing and then opening multiple files
by karlgoethebier
in thread Capturing and then opening multiple files
by Peter Keystrokes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |