App::WRT::FileIO - read and write directories and files
use App::WRT::FileIO; my $io = App::WRT::FileIO->new();
Get a new FileIO object.
Return a $sort_order sorted list of files matching regex $pattern in a directory.
Calls $sort_order, which can be one of:
alpha - alphabetical reverse_alpha - alphabetical, reversed high_to_low - numeric, high to low low_to_high - numeric, low to high
Write $contents string to $file path. Because:
https://secure.php.net/manual/en/function.file-put-contents.php
Get contents string of $file path. Because:
https://secure.php.net/manual/en/function.file-get-contents.php
To install App::WRT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::WRT
CPAN shell
perl -MCPAN -e shell install App::WRT
For more information on module installation, please visit the detailed CPAN module installation guide.