Mailinglist Archive: opensuse-programming (55 mails)

< Previous Next >
Re: [suse-programming-e] How can I debug a PERL program ?
  • From: Jan Trippler <Jan.Trippler@xxxxxxxxxxx>
  • Date: Sun, 13 Mar 2005 00:04:46 +0100
  • Message-id: <200503130004.46089.Jan.Trippler@xxxxxxxxxxx>
Am Samstag, 12. März 2005 19:19 schrieb Maura Edelweiss Monville:
> I'm trying to mofify a small PERL program that was written for
> me. Since I have no previous experience of using this language I
> wonder how I can
> debug it.
> PERL seems to be aninterpreter more than a debugger ...

Perl comes with a builtin debugger. Try to start the perl script
using:
perl -d script [arguments]

For a graphical interface try ddd (http://www.gnu.org/software/ddd):
ddd -perl script [arguments]

Jan

--
Linux-Quickies: http://www.jan-trippler.de
PingoS: http://www.pingos.org

< Previous Next >