
clive.projects at gmail
Aug 17, 2009, 7:48 AM
Post #1 of 2
(743 views)
Permalink
|
|
Catalyst Data Model Error
|
|
Hi all, I’m attempting to get catalyst 5.80007 up and running on active state perl 5.8.9 826. It seems to install properly and i’ve 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’ve done a Data::Dumper on the data ($self->args) that this error kicks out and it shows: $VAR1 = [ 'dbi:mysql:myapp', 'myapp', 'password' ]; I’ve uninstalled perl and catalyst and reinstalled them more than once and 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! Thanks, clive
|