koknat has asked for the wisdom of the Perl Monks concerning the following question:
my $debug = 1; ... if ($debug>=1) { print "DEBUG: \$variable = $variable\n" }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: debug statements
by Fletch (Bishop) on Oct 03, 2006 at 18:00 UTC | |
by djp (Hermit) on Oct 04, 2006 at 03:43 UTC | |
by monarch (Priest) on Oct 04, 2006 at 15:29 UTC | |
by djp (Hermit) on Oct 05, 2006 at 23:45 UTC | |
|
Re: debug statements
by derby (Abbot) on Oct 03, 2006 at 17:58 UTC | |
by andyford (Curate) on Oct 03, 2006 at 19:06 UTC | |
|
Re: debug statements
by mreece (Friar) on Oct 03, 2006 at 19:10 UTC | |
by koknat (Sexton) on Oct 03, 2006 at 20:07 UTC | |
by duckyd (Hermit) on Oct 03, 2006 at 23:56 UTC | |
by mreece (Friar) on Oct 03, 2006 at 21:45 UTC | |
|
Re: debug statements
by Raster Burn (Beadle) on Oct 04, 2006 at 16:16 UTC |