On Thu, 23 Feb 2012, Dave Rolsky wrote:
You could do it as a parameterized role, maybe:
with 'Role::Container' =>
{ contains => { bar => 'Foo::Bar', baz => 'Baz::Object' } );
This would introspect the relevant classes and either add attributes or some
sort of BUILD or BUILDARGS wrapper to record the relevant parameters and save
them for later.
Doh, ignore this. This is silly.
Just use Bread::Board, it already does this, more or less.
-dave
/*============================================================
http://VegGuide.org http://blog.urth.org
Your guide to all that's veg House Absolute(ly Pointless)
============================================================*/