# from Smylers # on Tuesday 27 July 2010 01:28: >> with 'Does::AutoPilot'; > >Yes. Appending ::Role works better in terms of reading the whole thing >as English. > > with 'AutoPilot::Role'; > with 'Serialize::YAML::Role'; > >That also happens to address the concern expressed that such modules >should be in their relevant topic's namespace.
I tend to see roles more as an alternate root namespace, so appending "::Role" is the opposite of that. I think #moose should make an executive decision about this and e.g. with '::AutoPilot'; # loads Moose::es::Roles::AutoPilot or whatever --Eric -- Introducing change is like pulling off a bandage: the pain is a memory almost as soon as you feel it. --Paul Graham --------------------------------------------------- http://scratchcomputing.com ---------------------------------------------------