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 <[email protected]>:
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.
_______________________________________________
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/