| Catalyst-Model-Oryx documentation | Contained in the Catalyst-Model-Oryx distribution. |
Catalyst::Helper::Model::Oryx - Helper for Oryx Model
script/create.pl model Oryx Oryx
Helper for Oryx Model
Catalyst::Manual, Catalyst::Test, Catalyst::Request, Catalyst::Response, Catalyst::Helper, Catalyst::Model::Oryx, Oryx, Oryx::Class
Richard Hundt <richard NO SPAM AT protea-systems.com>
Sebastian Riedel for graciously letting me borrow his mk_compclass
method as well as most of the pod in this module.
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
[% class %] - Oryx Model Component
See [% app %]
Oryx Model Component. This module holds the connection
details which are passed to connect().
[% author %]
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
| Catalyst-Model-Oryx documentation | Contained in the Catalyst-Model-Oryx distribution. |
package Catalyst::Helper::Model::Oryx; use strict;
sub mk_compclass { my ( $self, $helper ) = @_; my $file = $helper->{file}; $helper->render_file( 'compclass', $file ); }
1; __DATA__ __compclass__ package [% class %]; use strict; use base qw(Catalyst::Model::Oryx); # CHANGE ME! __PACKAGE__->config( dsname => 'dbm:Deep:datapath=/tmp', usname => '', passwd => '', );
1;