Catalyst::Plugin::Static::TT - generate 'static' content with TT
Version 0.002
use Catalyst qw/Static::TT Static::Simple/;
Sometimes you have 'static' content that isn't really static. It stays the same for the entire lifetime of your application, or maybe it only changes depending on whether you're in your development or production environment.
You'd really like to generate this content only once and then avoid filling it out again for each request.
All these options may be set in the MyApp->config->{static_tt}.
MyApp->config->{static_tt}
stash for your templates
arrayref of directories to search for templates (default: 'static')
as TT's INCLUDE_PATH (default: MyApp->config->{root})
MyApp->config->{root}
arrayref of extensions to process (default: 'tt', 'tt2')
hashref of extra configuration for TT (default: empty)
name of your Catalyst context variable (default: 'c')
Configures and then compiles all static-TT files.
Hans Dieter Pearcey, <hdp at cpan.org>
<hdp at cpan.org>
Please report any bugs or feature requests to bug-catalyst-plugin-static-tt at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-Plugin-Static-TT. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-catalyst-plugin-static-tt at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Catalyst::Plugin::Static::TT
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Catalyst-Plugin-Static-TT
CPAN Ratings
http://cpanratings.perl.org/d/Catalyst-Plugin-Static-TT
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Catalyst-Plugin-Static-TT
Search CPAN
http://search.cpan.org/dist/Catalyst-Plugin-Static-TT
This module is hosted on the public git repository at http://repo.or.cz/.
git clone http://repo.or.cz/w/Catalyst-Plugin-Static-TT.git
Copyright 2006 Hans Dieter Pearcey, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst::Plugin::Static::TT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Plugin::Static::TT
CPAN shell
perl -MCPAN -e shell install Catalyst::Plugin::Static::TT
For more information on module installation, please visit the detailed CPAN module installation guide.