in reply to Re: Is there an is_deeply() outside of Test::More?
in thread Is there an is_deeply() outside of Test::More?

I've had good experiences using Data::Compare in the past. One of the reviews notes that it is quite a bit slower than is_deeply(), but I've never used it on anything especially large.
  • Comment on Re^2: Is there an is_deeply() outside of Test::More?

Replies are listed 'Best First'.
Re^3: Is there an is_deeply() outside of Test::More?
by stevieb (Canon) on Aug 14, 2015 at 21:14 UTC

    Yeah... and the following code looks a hell of a lot better than before...

    # set up for caching my @unsafe_cache_params = qw(file extensions include exclude search); my $current = $self->{params}; my $previous = $self->{previous_run_config}; $self->{cache_safe} = 0; for (@unsafe_cache_params){ $self->{cache_safe} = Compare($current->{$_}, $previous->{$_}); last if ! $self->{cache_safe}; }