I'd liked to alter the infrastructure (Moose and Class::MOP) to
facilitate more modules like
http://github.com/nperez/moosex-anonclassname-uuid/tree/master

This would mean abstracting the package name generation out to a
few methods of some sort and would likely live in Class::MOP. That
whole chunk of code in Class::MOP::Class that is related to anonymous
classes would need to change to gather the ANON_CLASS_PREFIX from a
overridable method. 

In the end, this reduces the amount of duplication on the part of
MooseX modules wanting to alter that behavior.

Thoughts?

-- 

Nicholas Perez
XMPP/Email: n...@nickandperla.net
http://search.cpan.org/~nperez/
http://github.com/nperez

Reply via email to