table of contents
other versions
- Tumbleweed 1.660.0-1.3
- Leap-15.6
| SQL::Translator::Schema::Role::Compare(3) | User Contributed Perl Documentation | SQL::Translator::Schema::Role::Compare(3) |
NAME¶
SQL::Translator::Schema::Role::Compare - compare objects
SYNOPSIS¶
package Foo;
use Moo;
with qw(SQL::Translator::Schema::Role::Compare);
$obj->equals($other);
DESCRIPTION¶
This Moo::Role provides a method to compare if two objects are the same.
METHODS¶
equals¶
Determines if this object is the same as another.
my $isIdentical = $object1->equals( $object2 );
| 2024-12-12 | perl v5.42.0 |