Text::Zilla - Generating files as easy as possible
version 0.003
use Text::Zilla::File; use Text::Zilla::Dir; my $root = Text::Zilla::Dir->new; my $test_txt = Text::Zilla::File->new('This is a test'); my $testdir = Text::Zilla::Dir->new; my $othertest_txt = Text::Zilla::File->new('More tests!'); $testdir->tzil_set_entry('othertest.txt',$othertest_txt); $root->tzil_set_entry('testdir',$testdir); $root->tzil_set_entry('test.txt',$test_txt); $root->tzil_to('.');
This package is still in development - API may change.
This distribution tries to make a norm for generating files of any kind. Its for generating specific files like a /etc directory of a unix host, but should also be able to be used for generating 100.000 HTML files for a static webpage.
Text::Zilla::Dir
Text::Zilla::Types
Text::Zilla::Role::Dir::Stash
Text::Zilla::Role::Dir::Base
Text::Zilla::Role::Dir
Text::Zilla::Role::File::Base
Text::Zilla::Role::Rights
Text::Zilla::Role::File
Text::Zilla::Role::MetaClass
Text::Zilla::File
IRC
Join #textzilla on irc.perl.org.
Repository
http://github.com/Getty/p5-text-zilla Pull request and additional contributors are welcome
Issue Tracker
http://github.com/Getty/p5-text-zilla/issues
Torsten Raudssus <torsten@raudssus.de>
This software is copyright (c) 2011 by Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Text::Zilla, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Zilla
CPAN shell
perl -MCPAN -e shell install Text::Zilla
For more information on module installation, please visit the detailed CPAN module installation guide.