jesuashok has asked for the wisdom of the Perl Monks concerning the following question:
In the above shell script we can see the line by line execution when I execute the script. I would like to have the same feature when I execute the perl script too. could anyone recommend a module for this.#!/usr/bin/ksh set -x ls echo "Hello World"
anotherway which, I can use is logging mechanism. But I would like to have some other alternative. could anyone adive me on the same ? It is better If I have the same feature like set -x as shell programming does.perl -d <program.pl>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Viewing perl execution line by line - debug flags
by imp (Priest) on Dec 08, 2006 at 02:11 UTC | |
by jesuashok (Curate) on Dec 08, 2006 at 02:23 UTC | |
|
Re: Viewing perl execution line by line
by Fletch (Bishop) on Dec 08, 2006 at 02:07 UTC | |
|
Re: Viewing perl execution line by line
by cog (Parson) on Dec 08, 2006 at 02:25 UTC |