Ian Sillitoe > MooseX-Templated-0.02-1 > MooseX::Templated::View::TT

Download:
MooseX-Templated-0.02-1.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: MooseX-Templated-0.03

NAME ^

MooseX::Templated::View::TT - Template Toolkit View for MooseX::Templated

SYNOPSIS ^

See MooseX::Templated::View

template_src_ext

Default extension for Template files

    '.tt'

engine_class

    Template

See Template

engine_config

Default configuration for Template instance

    'ABSOLUTE' => 1

stash

This is the key/value stash that will be passed to the template engine

set_stash_key( 'key', 'value' )

    stash => { 'key' => 'value' }

get_stash_key( 'key' )

    # returns 'value'

empty_stash( )

    stash => {}

delete_stash_key( 'key' )

    # deletes entry for key

process( [ \%stash_vars ] )

Processes the TT file and returns the output as a string

DEPENDENCIES ^

Template

INCOMPATIBILITIES ^

None reported.

BUGS AND LIMITATIONS ^

No bugs have been reported.

Please report any bugs or feature requests to bug-moosex-templated@rt.cpan.org, or through the web interface at http://rt.cpan.org.

ACKNOWLEDGEMENTS ^

Chris Prather (perigrin)

AUTHOR ^

Ian Sillitoe <isillitoe@cpan.org>

LICENCE AND COPYRIGHT ^

Copyright (c) 2008, Ian Sillitoe <isillitoe@cpan.org>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

syntax highlighting: