From: Shawn M Moore Date: Tue, 28 Apr 2009 08:52:29 +0000 (-0400) Subject: Don't create anon classes, they're garbage collected or whatever X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4fd968b7cb7f96fdabb43b58497bdb7c5067444c;p=gitmo%2FPerl-Critic-Dynamic-Moose.git Don't create anon classes, they're garbage collected or whatever --- diff --git a/t/DynamicMoose/ProhibitPublicBuilders.run b/t/DynamicMoose/ProhibitPublicBuilders.run index 0b17a8b..c38a3df 100644 --- a/t/DynamicMoose/ProhibitPublicBuilders.run +++ b/t/DynamicMoose/ProhibitPublicBuilders.run @@ -143,7 +143,8 @@ has foo => ( ## cut for (1 .. 5) { - Class::MOP::Class->create_anon_class( + Class::MOP::Class->create( + "Foo$_", attributes => [ Class::MOP::Attribute->new( name => "foo_$_",