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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 1/4/10 10:38 PM, Karen Etheridge wrote:
What would it take to gain the properties of MooseX::Role::Strict in
MooseX::Role::Parameterized? I've been using strict roles everywhere and
love them -- they've caught a few bugs that I'm sure would
On 1/5/10 2:15 PM, Karen Etheridge wrote:
You'll have multiple inheritance, which obviously sucks. I'm sorry for
my half of that. It will be straightforward for me to refactor the guts
of MooseX::Role::Parameterized::Meta::Role::Parameterizable (which is
just two attributes) into a role. I'll
Excerpts from Karen Etheridge's message of Tue Jan 05 14:15:40 -0500 2010:
You'll have multiple inheritance, which obviously sucks. I'm sorry for
my half of that. It will be straightforward for me to refactor the guts
of MooseX::Role::Parameterized::Meta::Role::Parameterizable (which is
What would it take to gain the properties of MooseX::Role::Strict in
MooseX::Role::Parameterized? I've been using strict roles everywhere and
love them -- they've caught a few bugs that I'm sure would have been
dreadful to track down otherwise; now I'm parameterizing a few of my roles
and I'm