Re: MooseX::Types : subtype/coerce not found in Roles (hand_optimized_type_constraint?)

[email protected] (Stevan Little)
Newsgroups perl.moose
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.