Catalyst::Helper::View::Haml - Helper for Haml Views
For a standard View class:
script/create.pl view HTML Haml
You can also pass parameters at will:
script/create.pl view HTML Haml vars_as_subs=1 format=html5
This is a helper module for Haml Views. It is not meant to be used directly. Instead, you should use your Catalyst app's "create" script (see the SYNOPSIS for syntax).
As any other view helper, the first argument is your View's name. In the synopsys example we used "HTML", and it's usually a good name :)
The Haml helper accepts the same construction arguments as Text::Haml itself. List arguments can be separated by comma:
script/create.pl view HTML Haml path=/var/templates,/templates
This method is used by the Catalyst helper engine to generate files properly.
Catalyst::View::Haml, Catalyst::Manual, Catalyst::Helper, Text::Haml.
Breno G. de Oliveira <garu@cpan.org>
<garu@cpan.org>
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
To install Catalyst::View::Haml, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::View::Haml
CPAN shell
perl -MCPAN -e shell install Catalyst::View::Haml
For more information on module installation, please visit the detailed CPAN module installation guide.