in reply to Re^2: File::Glob Ignores Dot Files
in thread File::Glob Ignores Dot Files
Nowadays I’d just use Path::Tiny and do path($to_dir)->children. It excludes . and .. automatically, which is a great default. It also spits out Path::Tiny objects full of useful convenience methods, rather than just strings, which help make code much less grubby.
Makeshifts last the longest.
|
---|