Geometry::Primitive::Equal - Equality Role
Geometry::Primitive::Equal is a Moose role for equality.
with 'Geometry::Primitive::Equal'; sub equal_to { my ($self, $other) = @_; # compare and return! }
Implement this.
Provided you implement equal_to, this will be implemented for you!
equal_to
Cory Watson <gphat@cpan.org>
You can redistribute and/or modify this code under the same terms as Perl itself.
To install Geometry::Primitive, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geometry::Primitive
CPAN shell
perl -MCPAN -e shell install Geometry::Primitive
For more information on module installation, please visit the detailed CPAN module installation guide.