Test::Difflet - testing with difflet
use Test::Difflet; difflet_is_deeply( { "foo" => [ 1, 2, 3 ] }, { "foo" => [ 4, 2, 3 ] } ); # or override is_deeply use Test::Difflet qw/is_deeply/; is_deeply( { "foo" => [ 1, 2, 3 ] }, { "foo" => [ 4, 2, 3 ] }, 'test name');
This is a drop-in replacement for Test::More::is_deeply. You can use Data::Difflet for testing very easily.
Data::Difflet
To install Data::Difflet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Difflet
CPAN shell
perl -MCPAN -e shell install Data::Difflet
For more information on module installation, please visit the detailed CPAN module installation guide.