debian man page for mason::component::moose

Query: mason::component::moose

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Mason::Component::Moose(3pm)				User Contributed Perl Documentation			      Mason::Component::Moose(3pm)

NAME
Mason::Component::Moose - Moose policies and exports for Mason components
DESCRIPTION
This module is automatically included in each generated Mason component class, and is equivalent to use CLASS; use Moose; use MooseX::HasDefaults::RW; use Method::Signatures::Simple;
OVERRIDING
To override the default behavior, subclass this class and specify it as "base_component_moose_class" to Mason::Interp. For example, to use MooseX::StrictConstructor in every component: package My::Mason::Component::Moose; use Moose::Exporter; use MooseX::StrictConstructor (); use base qw(Mason::Component::Moose); sub init_meta { my $class = shift; $class->SUPER::init_meta(@_); MooseX::StrictConstructor->init_meta(@_); } ... my $interp = Mason::Interp->new(..., base_component_moose_class => 'My::Mason::Component::Moose');
SEE ALSO
Mason
AUTHOR
Jonathan Swartz <swartz@pobox.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jonathan Swartz. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-05-02 Mason::Component::Moose(3pm)
Related Man Pages
mason(3pm) - debian
mason::manual(3pm) - debian
mason::manual::plugins(3pm) - debian
mason::plugin::lvalueattributes(3pm) - debian
poet::manual::subclassing(3pm) - debian
Similar Topics in the Unix Linux Community
Ticket Boneclouds Mason Jennings
linSmith 0.99.4 (Default branch)
linSmith 0.99.6 (Default branch)
linSmith 0.99.11 (Default branch)
Microline Component ToolKit equivalent