in reply to Re: Using Perl's Debugger on
in thread Using Perl's Debugger on

Thank you, man. That did the trick! I did not know cgi.pm can process elements from the command line.

I'm aware that one can use print to debug. However, since the root cause of this problem was my spaghetti code, "print" would have never worked in this particular case. Debug was the right tool for this job and I found the problem with it. Thanks again.

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

Replies are listed 'Best First'.
Re (tilly) 3: Using Perl's Debugger on
by tilly (Archbishop) on Apr 18, 2001 at 19:05 UTC
    If the root cause of the problem was spaghetti code, then the root solution must be to learn to write better code...

    UPDATE
    The Monastery is full of good resources for improving. :-)

      Trust me, I'm going to work on it!

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