On Mon, Apr 13, 2009 at 12:38:08PM -0500, Dan Harbin wrote: > I'd like for the following validation in the Class::MOP::Attribute > constructor to be removed: > > (defined $name && $name) > || confess "You must provide a name for the attribute"; > > Is there any reason Class::MOP::Attribute should enforce this?
it probably should be defined $name && length $name hdp.