Created
August 16, 2010 01:33
-
-
Save benui-dev/526224 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Hack to make Carp::Assert work with Log4perl | |
# Stops warnings like "Prototype mismatch: sub Foo::DEBUG: none vs () at ... | |
BEGIN { | |
use Carp::Assert; | |
use Carp::Assert::More; | |
*ADEBUG = *DEBUG; | |
undef *DEBUG; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment