Fix DXDebug::DXDebug issue
authorDirk Koopman <djk@tobit.co.uk>
Fri, 3 Mar 2023 13:04:50 +0000 (13:04 +0000)
committerDirk Koopman <djk@tobit.co.uk>
Fri, 3 Mar 2023 13:04:50 +0000 (13:04 +0000)
Changes
perl/DXDebug.pm

diff --git a/Changes b/Changes
index 38eaec520435d5248f6f33bd9c75332c6f9d7662..9d9e2466f71ee3bdafdeb0c2471970179fbadc97 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,7 @@
+03Mar23=======================================================================
+1. Fix DXDebug::DXDebug not found errors in rarely used functions. This is 
+   also an interaction with differing versions of Mojolicious. Clearly this 
+   has never happened to me (sigh).
 02Mar23=======================================================================
 1. Fix sh/dx/30 problem. I.e. allow old style version of sh/dx 30.  
 01Mar23=======================================================================
index c2e5f28f1adb81a009f087a067e26f1f0b22debb..a3e06c4d969ed2528bd07b6fcd06da968517578b 100644 (file)
@@ -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(\@_);
     } );