in reply to Parsing command line options without knowing what they are
Check out the "Mixing command line option with other arguments" section of Long::GetOptions.