in reply to perl option to trace execution

Use the debugger's autotrace setting. "perl -d foo.pl", then at the debugger prompt, turn on auto trace "o AutoTrace=1". "c" to continue program execution and it will show each line as it is executed.