On Mon, 9 Nov 2009, Dave Rolsky wrote:
Notably, a parameterized role that added a method modifier on BUILD would probably be a _much_ simpler solution. You could also just use a lazy builder.
Or just use Native Delegation: has hash => ( traits => ['Hash'], handles => { foo => [ 'get', 'foo' ], bar => [ 'get', 'bar' ], }, ); -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/