in reply to brian's Guide to Solving Any Perl Problem
A tough idea:
Having checked your code several times, you might know it by hard. So, rewrite it all again without peeping at the original one. Then compare boths scripts. There might be some significant differences, that might brainstorm or ( lateral think ) some solutions.
And if you are not able to know it by hard, it might be too long and should be shorten into more simple chunks of well structured code :)