The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Catalyst::View::Embperl::Object - Embperl::Object View Class

SYNOPSIS

    # use the helper XXX TODO
    create.pl view Embperl::Object Epo

    # lib/MyApp/View/Epo.pm
    package MyApp::View::Epo;

    use base 'Catalyst::View::Embperl::Object';

    __PACKAGE__->config(
    

    );

    1;

    # Meanwhile, maybe in an 'end' action
    $c->forward('MyApp::View::Epo');

DESCRIPTION

This is the Embperl::Object view class. Your subclass should inherit from this class.

METHODS

new

The constructor for the Embperl::Object 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.