in reply to perl option to trace execution

Try installing Devel::Trace and then use perl -d:Trace foo. That'll get you something similar to a shell's set -x functionality.

Replies are listed 'Best First'.
Re: perl option
by jonadab (Parson) on Jan 05, 2005 at 22:25 UTC
    I just want to pipe up briefly in support of Devel::Trace. It has a much lower learning curve than most of the other suggestions and does precisely what Anonymous Monk asked for.
Re^2: perl option
by DrHyde (Prior) on Jan 06, 2005 at 10:04 UTC
    the -d:Trace can go on a shebang line too.