H4 has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks:
While I was trying to understand how Inline::Files works, I found that every function in this file starts with the line
DEBUG && TRACE(@_);Since 'use strict' is in effect, DEBUG must be a function (or use const), and it must be defined somewhere, or imported from somewhere, but I cannot find it. I tried to define a ::DEBUG or Inline::Files::DEBUG function in my program's BEGIN block but it didn't get called. (Nor did I find the TRACE function...)
Is this some kind of Perlish magic? Or was I unable to find the manpage? (It's neither on perldebug nor perldebtut nor perldebguts.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DEBUG && TRACE(@_)
by JavaFan (Canon) on Oct 08, 2008 at 10:29 UTC | |
by H4 (Acolyte) on Oct 08, 2008 at 13:26 UTC |