views:

148

answers:

1

I know that "bash -x script.sh" will execute script printing each line before actual execution. How to make perl and python interpreters do the same?

+16  A: 

Devel::Trace is the Perl analogue, the trace module is Python's.

msw
For clarification: `perl -d:Trace program.pl` and `python -m trace -t program.py` respectively.
Vi