in reply to Concordance Generator

Furthering what chipmunk said, you can also pass a reference to a hash to Getopt::Std and it will put data in that rather than in global variables.