sparkel has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
Is there a way I can use debug flags in perl? For example in C programming, we have the ifdef type flags.
Without using if-else statements all the time, is there another way to print debug statements when a debug flag is true?
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Debug flags
by ysth (Canon) on Nov 22, 2004 at 19:19 UTC | |
|
Re: Debug flags
by tall_man (Parson) on Nov 22, 2004 at 19:06 UTC | |
|
Re: Debug flags
by nandeya (Monk) on Nov 22, 2004 at 19:03 UTC | |
by bobf (Monsignor) on Nov 22, 2004 at 22:26 UTC |