in reply to Multiple GetOptions?

Getopt::Long will "eat" (that is, remove from @ARGV) options, or what looks like options, until it either encounters --, or it exhausts @ARGV. So, using -- on the command line is an option.

But you can also use the pass_through configuration option of Getopt::Long. You may also want to play with the prefix_pattern option.

Abigail