NAME

PFT::Util - Utilities

DESCRIPTION

This module contains general utility functions.

files

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.

Also, this handles encoding according to locale.

locale_glob

A unicode-safe glob.

Uses the encoding specified in locale.

This is different from CORE::glob in that it accepts a list of glob patterns