[Catalyst] Class data in a Moose::Role plugin

Tomas Doran bobtfish at bobtfish.net
Wed Sep 2 14:30:49 GMT 2009


Bill Moseley wrote:
> I also tried with Catalyst::ClassData.  Must be missing something.

Nope, you're not missing anything - class data in roles doesn't play nicely.

This would all be a lot easier (or not needed) if we had an app class 
instance, rather than it being a class..

Cheers
t0m




More information about the Catalyst mailing list