[Catalyst] Catalyst::Controller: find_meta not found

Tomas Doran bobtfish at bobtfish.net
Wed Feb 15 21:48:37 GMT 2012


On 15 Feb 2012, at 15:55, Gavin Henry wrote:

>> With a very simple catalyst app this happens:
>> 
>> Array found where operator expected at /opt/perl/5.10/lib/site_perl/5.10.1/Catalyst/Controller.pm line 215, at end of line
>>  (Missing operator before ?)
>> Undefined subroutine &Catalyst::Controller::find_meta called at /opt/perl/5.10/lib/site_perl/5.10.1/Catalyst/Controller.pm line 199.
>> Compilation failed in require at /opt/perl/5.10/lib/site_perl/5.10.1/Module/Runtime.pm line 317.

Does it work if you set NAMESPACE_CLEAN_USE_PP=1 in your environment? (As that fixes it for me where I can replicate this).

The culprit here appears to be a combination of namespace::clean, B::Hooks::EndOfScope and MooseX::MethodAttributes - but I'm not sure where the problem lies yet, so additional data points would be helpful :)

Cheers
t0m





More information about the Catalyst mailing list