in reply to Getopt configuration

I can't make out what you want; can you show a sample use of that script and what it would do? Especially I don't understand what no strict refs has to do with it.