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
_______________________________________________
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