[Catalyst] Can't call method "run" on an undefined value

Ian Wells ijw at cack.org.uk
Fri Jun 12 05:14:56 GMT 2009


2009/6/11 Ascii King <tech at swattermatter.com>:
> When I create and run a new Catalyst app form the CPAN tutorial, I get the
> following error:
>
> Can't call method "run" on an undefined value at
> C:/Perl/site/lib/Catalyst.pm line 2094.

Just had this myself.  Do you have a call to __PACKAGE__->setup in
lib/MyApp.pm ?  In an autocreated application it should be there, but
this is the error you get if you remove it.

-- 
Ian.



More information about the Catalyst mailing list