Text::Placeholder::Appliance::Directory_Listing - generate a directory listing
use Text::Placeholder::Appliance::Directory_Listing; my $listing = Text::Placeholder::Appliance::Directory_Listing->new( '[=counter=]. [=file_name_full=] [=file_mode_rwx=]'); my $rows = $listing->generate('/'); print join("\n", @$rows), "\n";
Text::Placeholder::Appliance::Directory_Listing takes a format and a directory name and produces a directory listing from it. It's an example how to build an appliance from placeholder groups.
This is the first public release.
Winfried Trumper <pub+perl(a)wt.tuxomania.net>
Copyright (C) 2011 Winfried Trumper
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Text::Placeholder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Placeholder
CPAN shell
perl -MCPAN -e shell install Text::Placeholder
For more information on module installation, please visit the detailed CPAN module installation guide.