Catalyst-View-Text-Template
view release on metacpan or search on metacpan
lib/Catalyst/View/Text/Template.pm view on Meta::CPAN
=encoding UTF-8
=head1 NAME
Catalyst::View::Text::Template - Text::Template views for Catalyst
=head1 VERSION
version 0.011
=head1 SYNOPSIS
The following C<< __PACKAGE__->config() >> options are available:
=head2 TEMPLATE_EXTENSION
This works as per its namesake in L<Catalyst::View::TT> in that it
provides the extension for autogenerated template filenames. If there
is no C<template> variable in the stash, the action name and this parameter
are concatenated to create the default template file name.
=head2 BROKEN, BROKEN_ARG, SAFE, DELIMITERS, PREPEND, SAFE
These config variables work as per their descriptions in the
L<Text::Template> documentation. No attempt is made to sanitize
them, they are passed straight through as is.
=head2 HASH
Values in this config variable will always be included in the
templates I<HASH> allow with the Catalyst stash values. It has
lower precedence than the stash values, so duplicate names will
be overridge by the stash.
This is intended for convenience in adding in useful helper
functions or variables that you might use frequently and which
seem to been more correcly placed in the view rather than stuffed
in the stash via the Controller. Perhaps you might place a function
to escape html, a list of states or countries?
=head1 WARNING
This is a quick bodge, and may change in lots of ways. You may want to wait
for this warning to go away.
=head1 SEE ALSO
L<Text::Template>
=head1 AUTHORS
=over 4
=item *
Ricardo Signes <rjbs@cpan.org>
=item *
Dean Hamstead <dean@fragfest.com.au>
=back
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2004 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
( run in 0.724 second using v1.01-cache-2.11-cpan-364913b4093 )