[Catalyst] Stand-alone Scripts
Glen Diener
gdiener at excelii.com
Fri Apr 27 13:54:57 GMT 2012
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: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
More information about the Catalyst
mailing list