[Catalyst] Stand-alone Scripts
Erik Wasser
erik.wasser at iquer.net
Fri Apr 27 13:34:38 GMT 2012
On 04/27/2012 03:25 PM, Glen Diener wrote:
> 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
More information about the Catalyst
mailing list