Thanks for the suggestion. The error changed to:

DBIx::Class::ResultSet::find(): DBI Connection failed: Can't connect to data 
source 'ARRAY(0xe8bfa0)' because I can't work out what driver to use (it 
doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is 
not set) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1176

- Glen


> > my $schema =
> > DealerDemoSite::Schema::DemoDB->connect($connect_info_args);
> >
> > my $demo = $schema->resultset('DemoDB::DddDemo')->find({demoid =>
> > 30024});
> >
> > I'm getting the following error message:
> >
> > DBIx::Class::Schema::resultset(): Can't find source for
> > DemoDB::DddDemo at ./maint.pl line 28
> 
> Try this:
> 
> my $demo = $schema->resultset('DddDemo')->find({demoid => 30024});
> 
> --
> So long... Erik
> 
> 
> _______________________________________________
> List: [email protected]
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to