/usr/share/perl5/Geometry/Primitive/Equal.pm is in libgeometry-primitive-perl 0.24-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | package Geometry::Primitive::Equal;
use Moose::Role;
requires 'equal_to';
sub not_equal_to {
my ($self, $other) = @_;
not $self->equal_to($other);
}
no Moose;
1;
__END__
=head1 NAME
Geometry::Primitive::Equal - Equality Role
=head1 DESCRIPTION
Geometry::Primitive::Equal is a Moose role for equality.
=head1 SYNOPSIS
with 'Geometry::Primitive::Equal';
sub equal_to {
my ($self, $other) = @_;
# compare and return!
}
=head1 METHODS
=head2 equal_to
Implement this.
=head2 not_equal_to
Provided you implement C<equal_to>, this will be implemented for you!
=head1 AUTHOR
Cory Watson <gphat@cpan.org>
=head1 COPYRIGHT & LICENSE
You can redistribute and/or modify this code under the same terms as Perl
itself.
|