++ed by:
KEEDI

1 PAUSE user

Breno G. de Oliveira
and 1 contributors

NAME

Catalyst::Helper::View::Haml - Helper for Haml Views

SYNOPSIS

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

DESCRIPTION

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).

Arguments

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
 

METHODS

mk_compclass

This method is used by the Catalyst helper engine to generate files properly.

SEE ALSO

Catalyst::View::Haml, Catalyst::Manual, Catalyst::Helper, Text::Haml.

AUTHOR

Breno G. de Oliveira <garu@cpan.org>

LICENSE

This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.