Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

catalyst::component::instancepercontext(3pm) [debian man page]

Catalyst::Component::InstancePerContext(3pm)		User Contributed Perl Documentation	      Catalyst::Component::InstancePerContext(3pm)

NAME
Catalyst::Component::InstancePerContext - Return a new instance a component on each request SYNOPSYS
package MyComponent; use Moose; with 'Catalyst::Component::InstancePerContext'; sub build_per_context_instance{ my ($self, $c) = @_; # ... do your thing here return SomeModule->new(%args); } REQUIRED METHODS
Your consuming class must implement the following method. build_per_context_instance The value returned by this call is what you will recieve when you call $c->component('YourComponent'). PROVIDED METHODS
This role will add the following method to your consuming class. ACCEPT_CONTEXT If the context is not blessed, it will simple pass through the value of "build_per_context_instance". If context is blessed it will look in the "stash" for an instance of the requested component and return that or, if the value is not found, the value returned by "build_per_context_instance" will be stored and return. The idea behind this behavior is that a component can be built on a per-request basis, as the name of this module implies. SEE ALSO
Moose, Moose::Role, Catalyst::Component AUTHOR
Guillermo Roditi (groditi) <groditi@cpan.org> LICENSE
You may distribute this code under the same terms as Perl itself. perl v5.14.2 2007-06-07 Catalyst::Component::InstancePerContext(3pm)

Check Out this Related Man Page

Catalyst::Manual(3pm)					User Contributed Perl Documentation				     Catalyst::Manual(3pm)

NAME
Catalyst::Manual - The Catalyst developer's manual SYNOPSIS
perldoc Catalyst::Manual::Intro perldoc Catalyst::Manual::Tutorial SEE ALSO
Install Task::Catalyst::Tutorial to install all the dependencies you need to follow along with the Tutorial. You can also refer to Catalyst::Manual::Tutorial::Intro for more information on installation options. Some "Getting Started" Links: o Catalyst::Manual::About o Catalyst::Manual::Intro o Catalyst::Manual::Tutorial o Catalyst::Manual::Actions o Catalyst::Manual::Cookbook o Catalyst::Manual::DevelopmentProcess o Catalyst::Manual::ExtendingCatalyst o Catalyst::Manual::Internals o Catalyst::Manual::Plugins Books For additional information on Catalyst, there are currently two books available: o The Definitive Guide to Catalyst: Writing Extendable, Scalable and Maintainable PerlXBased Web Applications By: Kieren Diment, Matt Trout Available July 12, 2009 ISBN 10: 1-4302-2365-0 ISBN 13: 978-1-4302-2365-8 http://www.apress.com/book/view/9781430223658 o Accelerating Perl Web Application Development By: Jonathan Rockway Published December, 2007 ISBN 10: 1847190952 ISBN 13: 978-1-847190-95-6 http://www.packtpub.com/catalyst-perl-web-application/book AUTHORS
Catalyst Contributors, see Catalyst.pm COPYRIGHT
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-05-03 Catalyst::Manual(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. Shell Programming and Scripting

How much space I am consuming?

Hi i want to know if many users are logging in system then how would i know that how much space in system i am consuming.. Thanks Vijay sahu (4 Replies)
Discussion started by: vijays3
4 Replies

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