On Jan 30, 2009, at 6:55 PM, Ian Sillitoe wrote:
Is this a really horrible hack?
No more than Moose itself is :)
Because Moose does most of it's bootstrapping at that grey area right
after "compile" time and right before "run" time, it can sometimes be
sensitive to load order and circular references/dependencies. I am
hoping that the current MooseX::Declare/Devel::Declare experiments
will end up providing a way for us to push much more of this stuff
into the true "compile" phase, but we are still too early in the
development of those tools to know. So really for now the only way
around it is hacks like yours (which really isn't that horrible).
- Stevan