[Catalyst] Catalyst Data Model Error

clive glew clive.projects at gmail.com
Mon Aug 17 14:48:05 GMT 2009

Hi all,

I=92m attempting to get catalyst 5.80007 up and running on active state perl
5.8.9 826.  It seems to install properly and i=92ve been working my way
through the catalyst book.  However when i try to create a model using:

perl script/myapp_create.pl model MyAppDB DBIC::Schema MyAppDB
dbi:mysql:myapp "myapp" "password"

I get the following error:

Can't call method "flatten" on unblessed reference at
C:/Perl/site/lib/Catalyst/Helper/Model/DBIC/Schema.pm line 164.

I=92ve done a Data::Dumper on the data ($self->args) that this error kicks =
and it shows:

$VAR1 =3D [





I=92ve uninstalled perl and catalyst and reinstalled them more than once an=
d i
still get the error.  I've installed the latest versions of autobox and
Moose::Autobox even before installing Catalyst::Runtime and Catalyst::Devel

Any help much appreciated!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090817/6ff36=

More information about the Catalyst mailing list