in reply to Re: Multiple GetOptions?
in thread Multiple GetOptions?

Hi,

It does the trick, apart from the fact that it stops reporting "unknown option" for nonexistent options.
If you want to have the warning back for unrecognised options you can add the Getopt::Long::Configure qw(nopass_through); where you catch options for the last time.

-sheep

Update: Corrected a typo. Thanks to BazB.