In addition to the suggestions that other monks have given you, you might try the
Perl Tk based Debugger.
Perl Tidy may also be of benefit to you if you've got to wade through 6M of code.
Revolution. Today, 3 O'Clock. Meet behind the monkey bars.
I would love to change the world, but they won't give me the source code