Catalyst::Helper::Model::Adaptor man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Catalyst::Helper::ModeUserdContributed PerlCatalyst::Helper::Model::Adaptor(3)

NAME
       Catalyst::Helper::Model::Adaptor - helper for the incredibly lazy

SYNOPSIS
       Running:

	   ./script/myapp_create.pl model SomeClass Adaptor MyApp::Backend::SomeClass create

       Will create "YourApp::Model::SomeClass" that looks like:

	   package YourApp::Model::SomeClass;
	   use strict;
	   use warnings;
	   use base 'Catalyst::Model::Adaptor';

	   __PACKAGE__->config(
	       class	   => 'MyApp::Backend::SomeClass',
	       constructor => 'create',
	   );

	   1;

       Why you need a script to generate that is beyond me, but here it is.

ARGUMENTS
	  ./script/myapp_create.pl model <model_name> Adaptor <class> [<constructor>]

       You need to sepecify the "model_name" (the name of the model), and
       "class", the class being adapted.  If "$class->new" isn't going to do
       what you want, pass the name of $class's constructor as "constructor".

AUTHOR
       Jonathan Rockway "<jrockway@cpan.org>"

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

       No copyright claim is asserted over the generated code.

perl v5.14.1			  2010-02-0Catalyst::Helper::Model::Adaptor(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net