http://qs321.pair.com?node_id=88128


in reply to Debugger Tutorials

Basic debugger concept #1: the built in Perl debugger referenced above will not work unless your program compiles. So if you have major flaws in your code, the built-in Perl debugger is useless. So as a first step, be sure you:
use strict;
use diagnostics;
and to call Perl using the '-w' (warnings) switch.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot";
$nysus = $PM . $MCF;

Replies are listed 'Best First'.
Re: Re: Debugger Tutorials
by HamNRye (Monk) on Jun 13, 2001 at 21:50 UTC

    This is not a problem with programs compiling, I just want to know how to debug a program without seeding it with print statements. I'm assuming this is the point of a debugger.

    I have been writing Perl for 5 years now, but I have always debugged with the old print "Count is" $count ; and the like. As my projects get more and more complex, this becomes more and more tiresome.