FP::DumperEqual - equality
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;
Deep structure equality comparison.
NOTE: using Data::Dumper and thus slow.
For a more proper solution, see FP::Equal
FP::Equal
To install PXML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PXML
CPAN shell
perl -MCPAN -e shell install PXML
For more information on module installation, please visit the detailed CPAN module installation guide.