fixed debug levels: now tests run with -d will display
own diag messages, while -d -d will be 1st level of
debug for WebPAC, and so on...
git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@1037
07558da8-63fa-0310-ba24-
9fe276d99e06
#use base qw/WebPAC::Common/;
use Data::Dump qw/dump/;
-use Storable qw/dclone/;
use Carp qw/confess/;
# debugging warn(s)
my $debug = 0;
+_debug( $debug );
# FIXME
use WebPAC::Normalize::ISBN;
warn "debug level $l",$/ if ($l > 0);
$debug = $l;
$WebPAC::Normalize::MARC::debug = $debug;
+warn "#### MARC::debug = ",dump($WebPAC::Normalize::MARC::debug);
}
=head1 Functions to create C<data_structure>
use_ok( 'WebPAC::Normalize::MARC' );
}
+_debug( $debug - 1 ) if $debug > 1;
+
my $rec = {
'225' => [{
'a' => 'a-1-1',