Template::Lace::ModelRole
package MyApp::User; use Moo; with 'Template::Lace::ModelRole';
The minimal interface that a model class must provide.
This interface exposes the following public methods. For detailed examples see Template::Lace.
Class method that should return a string which is the template for this model
Class method that allows you to alter the DOM once at setup time.
Instance method that recieves the DOM and allows you to transform it at request time.
Template::Lace.
Please See Template::Lace for authorship and contributor information.
Please see Template::Lace for copyright and license information.
To install Template::Lace, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Lace
CPAN shell
perl -MCPAN -e shell install Template::Lace
For more information on module installation, please visit the detailed CPAN module installation guide.