in reply to using getopts::long and testing for command line options
If you want to check for any incorrect options, look at the return code from GetOptions(), and it will be 0 if there were any unknown options (or incorrect ones) provided.
can't sleep clowns will eat me
-- MZSanford