tokuhirom's Blog

Pretty object diff generator for Perl5

I wrote a new CPAN module named Data::Difflet. It's inspired from difflet

Data::Difflet makes colorful diff like difflet.

This is a example implementation using Data::Difflet.

use strict;
use warnings;

use Test::More;
use Test::Difflet qw/is_deeply/;

is_deeply( { "foo" => [ 1, 2, 3 ] }, { "foo" => [ 4, 2, 3 ] } );

done_testing;

This is a result of test output.

So, this module is highly useful for testing with complex data structure like Web APIs.

Enjoy!

ネスカフェ ゴールドブレンド エコ&システムパック 120g

ネスカフェ ゴールドブレンド エコ&システムパック 120g