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
> :)

Looks like the culprit was B::Hooks::EndOfScope.  The latest (0.10) of
that package plus the most recent Catalyst seems to have resolved the
problems.  Thank you to everyone involved.

-- 
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/

Reply via email to