NAME

FP::DumperEqual - equality

SYNOPSIS

use FP::DumperEqual;

ok dumperequal [1, [2, 3]], [1, [1+1, 3]];
ok not dumperequal [1, [2, 3]], [1, [1+2, 3]];

my $s1 = "stringwithunicode";
my $s2 = "stringwithunicode";
utf8::decode($s2);
# ok not dumperequal $s1, $s2;
#         ^-- hmm, it used to be the case that this gave false
ok dumperequal_utf8 $s1, $s2;

DESCRIPTION

Deep structure equality comparison.

NOTE: using Data::Dumper and thus slow.

For a more proper solution, see FP::Equal

SEE ALSO

FP::Equal

NOTE

This is alpha software! Read the status section in the package README or on the website.