in reply to Perl editor idea

If your on Windows, try Homesite its not just for HTML, it has many nice code navigation features (bookmarks i think they call them). It also does a good job on syntax coloring for Perl. Additionally it has other features such as code snippets that can be tied to command key combinations, etc. Its been a version or 2 since i last used it heavily, but all the other programmers at work use it and swear by it.

If your on Mac OS X, try Project Builder, its part of the starndard Developer Tools (although I think XCode is replacing it, you can still download the old one though I'm sure). It has a number of features; you can split the current editor window into 2 panes, and scroll them independently; you can easily code and run perl script marcos from the current selection (which could launch browsers and such); you can substitute the normal "build" shell script with your own to perform just about anything you need it to do. It integrates nicely with the CVS installed with the Apple Developer Tools.

Any other platform, your on your own.

I will refrain from commenting on your coding style, and just say that i agree with chromatic and rkg.

-stvn