Re: [PBML] Doubt regarding debugging perl script
- From: "Jins Thomas" <jins.thomas@...>
> I am a novice to perl. I would like to know whether something similarI assure you this doesn't tell me anything. Anything at all.
> to set -x option in Unix shell scripting is there in perl.
> Some more descriptions about my doubt I want to track what happens atThis does.
> each stage of the code.
You might use the builtin perl debuger. Read
Or use the graphical debugger ptkdb
To print the lines executed you probably want Devel::Trace.
You might also find Devel::TraceSubs handy to find out what
subroutines are called and with what parameters.
You can find the later modules on CPAN: http://search.cpan.org
===== Jenda@... === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery