On Wed, Feb 15, 2012 at 09:48:37PM +0000, Tomas Doran wrote: > > 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
It works for me with NAMESPACE_CLEAN_USE_PP=1. If I change it to 0 I get failures again. I'm the one that started this thread so all the details of my setup are in the initial e-mail. A couple of addendums: I am using Centos 5.4 with a custom compiled perl 5.10.1. Please let me know what other details you may need. -- seth /\ sethdaniel.org _______________________________________________ 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/
