-
-
10 Jun 2006 18:27:04 UTC
- Distribution: Catalyst-View-Embperl
- Module version: 0.02
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (49 / 0 / 0)
- Kwalitee
Bus factor: 0- % Coverage
- License: unknown
- Activity
24 month- Tools
- Download (2.92KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Catalyst
- Embperl
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Catalyst::View::Embperl - Embperl View Class
SYNOPSIS
# use the helper (XXX TODO) create.pl view Embperl Epl # lib/MyApp/View/Epl.pm package MyApp::View::Epl; use base 'Catalyst::View::Embperl'; __PACKAGE__->config( ); 1; # Meanwhile, maybe in an 'end' action $c->forward('MyApp::View::Epl');
DESCRIPTION
This is the
Embperl
view class. Your subclass should inherit from this class.METHODS
- new
-
The constructor for the Embperl view.
- process
-
Renders the template specified in
$c->stash->{template}
Template arguments are$c
. Output is stored in$c->response->body
. - config
-
This allows your view subclass to pass additional settings to the Embperl config hash.
SEE ALSO
Embperl, Catalyst, Catalyst::Base.
AUTHOR
Christophe Le Bars,
clb@2fp.net
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Catalyst::View::Embperl, copy and paste the appropriate command in to your terminal.
cpanm Catalyst::View::Embperl
perl -MCPAN -e shell install Catalyst::View::Embperl
For more information on module installation, please visit the detailed CPAN module installation guide.