Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more

NAME

SQL::Translator::Schema::Role::Compare - compare objects

SYNOPSIS

package Foo;
use Moo;
$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 );