in reply to Re: GetOptions non-option callback
in thread GetOptions non-option callback

Thanks for that: embarrassingly I had not used permute, despite seeing it in the docs. But having added it has made no difference: the sub still isn't called (though @ARGV is empty after GetOptions) and "Unknown option: " is still printed to console.