Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mason::component::moose(3pm) [debian man page]

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)

Check Out this Related Man Page

Mason::Plugin::LvalueAttributes(3pm)			User Contributed Perl Documentation		      Mason::Plugin::LvalueAttributes(3pm)

NAME
Mason::Plugin::LvalueAttributes - Create lvalue accessors for all rw component attributes SYNOPSIS
<%class> has 'a' => (is => "rw") has 'b' => (is => "ro") </%class> <%init> # set a to 5 $.a = 5; # set a to 6 $.a(6); # error $.b = 7; </%init> DESCRIPTION
This plugins creates an Lvalue accessor for every read/write attribute in the component. Which means that instead of writing: $.name( "Foo" ); you can use the more natural syntax $.name = "Foo"; WARNING
Standard Moose setter features such as type checking, triggers, and coercion will not work on Lvalue attributes. You should only use this plugin when the convenience of the Lvalue attributes outweighs the need for setter features. ACKNOWLEDGEMENTS
Inspired by Christopher Brown's MooseX::Meta::Attribute::Lvalue. 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::Plugin::LvalueAttributes(3pm)
Man Page

3 More Discussions You Might Find Interesting

1. AIX

Subsystem Component Failure

Hello All, Does some one have any idea about the subsystem component failure. Errpt command throws below errors for my server :- # errpt IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION B9735AF4 0304222408 P H hdisk5 SUBSYSTEM COMPONENT FAILURE B9735AF4 0304222408 P H... (1 Reply)
Discussion started by: Shrek
1 Replies

2. Programming

Microline Component ToolKit equivalent

Hello, MCT(Microline Component Toolkit) is a thirdparty product used to display widgets like GRIDs, buttons etc.. using Java. If you have more details about the product and please send the references. Let me know the equivalent software avaialble in todays Java world. Thanks, Shafi (1 Reply)
Discussion started by: shafi2all
1 Replies

3. Shell Programming and Scripting

Monitoring Sript giving random end result

Hi Guys, I am developing a script to monitor GUI based FileNet Component "Component Manager" which logs it's running status in a log file. Log file is a huge file so in script I put last 300 lines of log file in seperate file and run script every 5 minutes. I am searching the string... (2 Replies)
Discussion started by: dhirajdsharma
2 Replies