in reply to Program size and effeciency.
Have a look at "Perl Medic: Transforming Legacy Code" - great book on that subject: Do the right thing with legacy code.
Cheers, Sören