in reply to Working with old code
Write tests for every single part of the business in:out you can possibly figure out. Perl testing, even system testing, is extremely easy and flexible once you get a feel for it. Once you have a deep test suite, you can refactor with confidence and speed because you will know immediately if you broke something or changed behavior.
In Section
Seekers of Perl Wisdom