Excerpts from Dmitry Karasik's message of Wed Jan 13 17:47:06 -0500 2010: > I've written MooseX::Lists that implements what I wanted.
'isa' is potentially confusing, because you're using it differently from the rest of Moose. You could * rename 'isa' to something else (I have no good ideas) * have has_array and has_hash instead * use isa => 'ArrayRef' and 'HashRef', as usual, and just add the around() based on whichever of them is present Also, 02-syntax.t doesn't actually test the modifiers you're adding -- if you add 'main->new->a2' at the end, you'll see it dies because you have a reference to 'array_ref' (which doesn't exist). hdp.