--- trunk/t/6-unit.t 2006/10/31 13:44:42 767 +++ trunk/t/6-unit.t 2007/09/03 15:26:46 887 @@ -7,7 +7,7 @@ use Cwd qw/abs_path/; use File::Temp qw/tempdir/; use File::Slurp; -use Data::Dumper; +use Data::Dump qw/dump/; use Time::HiRes qw/time/; use blib; @@ -56,10 +56,9 @@ ok(my $path = tempdir( CLEANUP => 1 ), "path"); -ok(my $db = new WebPAC::Store( - path => $path, +ok(my $db = new WebPAC::Store({ database => '.', -), "new Store"); +}), "new Store"); ok(my $norm_pl = read_file( $normalize_set_pl ), "set definitions: $normalize_set_pl" ); @@ -74,7 +73,7 @@ my $row = $isis->fetch || next; - diag " row $pos => ",Dumper($row) if ($debug); + diag " row $pos => ",dump($row) if ($debug); my $t = time(); ok( my $ds = WebPAC::Normalize::data_structure( @@ -83,7 +82,7 @@ ), "Set data_structure"); $t_norm += time() - $t; - diag " ds $pos => ",Dumper($ds) if ($debug); + diag " ds $pos => ",dump($ds) if ($debug); ok(my $html = $out->apply( template => 'html.tt',