use Data::Dump for nicer (shorter/more readable) output instead of
[MARC-Fast] / t / 001_marc.t
index c05fcd6..ddbee94 100755 (executable)
@@ -5,6 +5,7 @@ use blib;
 
 use Test::More tests => 63;
 use Test::Exception;
+use Data::Dump qw/dump/;
 
 BEGIN {
        use_ok( 'MARC::Fast' );
@@ -14,11 +15,6 @@ my $debug = shift @ARGV;
 
 my $marc_file = 't/camel.usmarc';
 
-if ( $debug ) {
-       eval { require Data::Dump; };
-       $debug = 0 if ($@);
-}
-
 my $marc;
 my %param;