From: Rafael Kitover Date: Mon, 15 Jun 2009 00:39:26 +0000 (-0700) Subject: rename exports __TYPE__:: instead of __ANON__:: because stevan likes that better :) X-Git-Tag: 0.13~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1150ce7231722f60b82d2b8399cd16671102f26d;hp=4e6dc81d073596e98bdf19f5884ee2397da31b5e;p=gitmo%2FMooseX-Types.git rename exports __TYPE__:: instead of __ANON__:: because stevan likes that better :) --- diff --git a/lib/MooseX/Types.pm b/lib/MooseX/Types.pm index 55bca7e..e51a0c0 100644 --- a/lib/MooseX/Types.pm +++ b/lib/MooseX/Types.pm @@ -375,7 +375,7 @@ sub type_export_generator { ## Return an anonymous subroutine that will generate the proxied type ## constraint for you. - return subname "__ANON__::$name" => sub { + return subname "__TYPE__::$name" => sub { my $type_constraint = $class->create_base_type_constraint($name); if(defined(my $params = shift @_)) {