use strict;
use warnings;
-use inc::Module::Install 0.97;
+use inc::Module::Install 0.98;
use Module::Install::AuthorRequires;
use 5.008001;
tests_recursive();
repository 'git://git.moose.perl.org/Moose.git';
+add_metadata(x_authority => 'cpan:STEVAN');
WriteAll();
=item Japanese
-Japanese docs can be found at L<http://perldoc.perlassociation.org/pod/Moose-Doc-JA/index.html>. The source POD files can be found in GitHub: L<http://github.com/jpa/Moose-Doc-JA>
+Japanese docs can be found at
+L<http://perldoc.perlassociation.org/pod/Moose-Doc-JA/index.html>. The
+source POD files can be found in GitHub:
+L<http://github.com/jpa/Moose-Doc-JA>
=back
my $other = Moose::Util::TypeConstraints::find_type_constraint($type_or_name) or return;
- return 1 if 0+$self == 0+$other;
+ return 1 if $self == $other;
if ( $self->has_hand_optimized_type_constraint and $other->has_hand_optimized_type_constraint ) {
return 1 if $self->hand_optimized_type_constraint == $other->hand_optimized_type_constraint;