| Catalyst::View::Petal(3pm) | User Contributed Perl Documentation | Catalyst::View::Petal(3pm) |
Catalyst::View::Petal - Petal View Class
# use the helper
create.pl view Petal Petal
# lib/MyApp/View/Petal.pm
package MyApp::View::Petal;
use base 'Catalyst::View::Petal';
__PACKAGE__->config(
input => 'XML',
output => 'XML',
error_on_undef_var => 0
);
1;
# Meanwhile, maybe in an 'end' action
$c->forward('MyApp::View::Petal');
This is the "Petal" view class. Your subclass should inherit from this class.
Petal, Catalyst, Catalyst::Base.
Christian Hansen, "ch@ngmedia.com"
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
| 2021-01-05 | perl v5.32.0 |