On 6/29/06, Torsten Krah <[EMAIL PROTECTED]> wrote: > Looking at this file, their is this example: > > tutorial_create.pl model AnotherDB DBIC::SchemaLoader dbi:Pg:dbname=foo > root > 4321 > > But if i try this ( of cause with working parameters testet with > deprecated DBIC), i only get: > > Couldn't load helper "Catalyst::Helper::Model::DBIC::SchemaLoader", > "Can't locate Catalyst/Helper/Model/DBIC/SchemaLoader.pm > > I only got a Schema.pm there - but it produces no helpful stubs, have i > really to write the schema itself or is there a way like deprecated DBIC > one to generate it? > > SchemaLoader package is installed, what is missing? Can you point me > which paket i forgot? >
The Schema Loader has changed since that tutorial was written, and this no long a "DBIC::SchemaLoader" Helper. "perldoc Catalyst::Helper::Model::DBIC::Schema" will show you how to use the current Helper to create your Schema and Model for you, either dynamically (the way SchemaLoader Helper did), or statically. -- Brandon _______________________________________________ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/