On Wed, Jun 16, 2010 at 03:28:20PM -0700, Kate Yoak wrote: > >> > > > > Because inner, like super, has, extends, with, requires, augment, before, > > around, after and override, is a "keyword" and not a method. > > > > > Well, that explains a lot. It also makes my life difficult as such a beast > usually comes up long after I've said no Moose; > I normally do so as early as possible so I could start using things like > Error.pm - and prefer not writing and "real code" with Moose namespace still > on. > > So what's inner's full name? How do I get at it?
You don't; all of the keywords that Moose provides are generated by Moose::Exporter, so that they are passed the appropriate metaclass instance. Just move the 'no Moose' later. I'm not sure what you mean by "with the Moose namespace still on". -doy