in reply to Perl command line switches
One of the things you may want to do as you take over ownership of this script could be to convert it to use Getopt::Long and Pod::Usage, and to write the POD so that it is compatible with pod2usage. You've got some work to do on understanding the script. But you can leave it in a better state when you're done with it.
Dave
In Section
Seekers of Perl Wisdom