X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?p=spider.git;a=blobdiff_plain;f=perl%2FDXDebug.pm;h=a3e06c4d969ed2528bd07b6fcd06da968517578b;hp=c2e5f28f1adb81a009f087a067e26f1f0b22debb;hb=5b8c14dd8ac82a211bc1bfbcefee7e7820a812a1;hpb=d572c34d7d49a76310446ca0ccae4fbbaceb8224 diff --git a/perl/DXDebug.pm b/perl/DXDebug.pm index c2e5f28f..a3e06c4d 100644 --- a/perl/DXDebug.pm +++ b/perl/DXDebug.pm @@ -69,12 +69,12 @@ if (!defined $DB::VERSION) { exit(-1); } sub carp { - DXDebug::dbgprintring(25) if DXDebug('nologchan'); + DXDebug::dbgprintring(25) if DXDebug::isdbg('nologchan'); # DXDebug::dbg(Carp::shortmess(\@_)); DXDebug::longmess(\@_); } sub cluck { - DXDebug::dbgprintring(25) if DXDebug('nologchan'); + DXDebug::dbgprintring(25) if DXDebug::isdbg('nologchan'); # DXDebug::dbg(Carp::longmess(\@_)); DXDebug::longmess(\@_); } );