[Catalyst] Creating Models
Craig Talbert
craig.talbert at gmail.com
Fri Jul 7 20:56:14 CEST 2006
I'm having a hard time getting Catalyst to create a model. It's
looking for a perl module that doesn't seem to exist.
$ script/MyApp_create.pl model DBIC DBIC::SchemaLoader
'dbi:SQLite:/MyApp/MyApp.db'
exists "/MyApp/script/../lib/MyApp/Model"
exists "/MyApp/script/../t"
Couldn't load helper "Catalyst::Helper::Model::DBIC::SchemaLoader",
"Can't locate Catalyst/Helper/Model/DBIC/SchemaLoader.pm in @INC (@INC
contains: /usr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8
/usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8
.) at (eval 12) line 3.
" at script/MyApp_create.pl line 22
I'm following the instructions here:
http://cpansearch.perl.org/dist/Catalyst/lib/Catalyst/Manual/Intro.pod#Models
More information about the Catalyst
mailing list