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

Ascii King tech at swattermatter.com
Fri Jun 12 13:37:12 GMT 2009

That solved it, thanks!  I had replaced the wrong line in the 
lib\MyApp.pm when following the tutorial.

Ian Wells wrote:
> 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.

More information about the Catalyst mailing list