I forgot to bump this, but I have now done pretty much what you want
to do with MooseX::Role::Parameterized and MooseX::MethodAttributes.
For a reference implementation, see:
http://bugs.musicbrainz.org/browser/mb_server/trunk/lib/MusicBrainz/Server/Controller/Role/Meta/Parameterizable.pm
I'm having difficulty getting some Moose::Util::MetaRole arguments passed
from Moose::Exporter (specifically, I want to apply a role to a metaclass
directly from an existing Moose::Exporter call). Since from the
documentation this appears to be a simple task, I must have missed
something, so I'm
Update: if one removes this line from MyApp::Export:
also = [ qw(Moose) ],
... and adds use Moose; to MyApp::Foo, things work fine (well rather,
code execution gets up to Undefined subroutine
MooseX::Aliases::_get_method_metaclass called at... which is expected
because the methods in