SQL::Translator::Schema::Role::Compare - compare objects
package Foo; use Moo; with qw(SQL::Translator::Schema::Role::Compare); $obj->equals($other);
This Moo::Role provides a method to compare if two objects are the same.
Determines if this object is the same as another.
my $isIdentical = $object1->equals( $object2 );
To install SQL::Translator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SQL::Translator
CPAN shell
perl -MCPAN -e shell install SQL::Translator
For more information on module installation, please visit the detailed CPAN module installation guide.