The Debugger Perl has a wonderful source-level debugger, which perldebug (1) will tell you all about.