PFT::Util - Utilities
This module contains general utility functions.
List all files under the given directories.
list_files 'foo' 'bar'
This is definitely off-scope, but some perl modules are really bad. File::Find is a utter crap! And I don't really want to add more external deps for such a stupid thing.
File::Find
Also, this handles encoding according to locale.
A unicode-safe glob.
glob
Uses the encoding specified in locale.
This is different from CORE::glob in that it accepts a list of glob patterns
CORE::glob
To install PFT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PFT
CPAN shell
perl -MCPAN -e shell install PFT
For more information on module installation, please visit the detailed CPAN module installation guide.