From: gfx Date: Fri, 30 Oct 2009 00:51:40 +0000 (+0900) Subject: Tidy X-Git-Tag: 0.40_03~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a2f1294a5b2b3c9503376048da7e578f62b39ac6;p=gitmo%2FMouse.git Tidy --- diff --git a/lib/Mouse/Util/TypeConstraints.pm b/lib/Mouse/Util/TypeConstraints.pm index c6f7b17..7ae23f3 100644 --- a/lib/Mouse/Util/TypeConstraints.pm +++ b/lib/Mouse/Util/TypeConstraints.pm @@ -280,7 +280,7 @@ sub _find_or_create_parameterized_type{ } } sub _find_or_create_union_type{ - my @types = sort{ $a cmp $b } map{ $_->{type_constraints} ? @{$_->{type_constraints}} : $_ } @_; + my @types = sort map{ $_->{type_constraints} ? @{$_->{type_constraints}} : $_ } @_; my $name = join '|', @types;