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.
Breno G. de Oliveira
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.