http://qs321.pair.com?node_id=419654


in reply to perl option to trace execution

Try the perl debugger.

Update: and perldoc perldebug, of course.