NAME

Catalyst::Helper::Model::MultiAdaptor - helper for the incredibly lazy

SYNOPSIS

Running:

catalyst.pl model SomeClass MultiAdaptor MyApp::Service 

Will create MyApp::Model::SomeClass that looks like:

package MyApp::Model::SomeClass;
use strict;
use warnings;
use base 'Catalyst::Model::MultiAdaptor';

__PACKAGE__->config( 
    package       => 'MyApp::Service',
);

1;

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

ARGUMENTS

catalyst.pl model <model_name> MultiAdaptor <package>

You need to sepecify the model_name (the name of the model), and package, the base package for plain old perl models.

AUTHOR

Takatoshi Kitano <kitano.tk@gmail.com>

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.