"be consistent" | |
PerlMonks |
Re^3: File::Glob Ignores Dot Filesby Aristotle (Chancellor) |
on Dec 30, 2013 at 20:22 UTC ( [id://1068772]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|