SYNOPSIS use Getopt::Long::Negate::EN qw(negations_for_option); # the Getopt::Long's default @negs = negations_for_option('foo'); # ('no-foo', 'nofoo') @negs = negations_for_option('with-foo'); # ('without-foo') @negs = negations_for_option('without-foo'); # ('with-foo') @negs = negations_for_option('is-foo'); # ('isnt-foo') @negs = negations_for_option('isnt-foo'); # ('is-foo') @negs = negations_for_option('are-foo'); # ('isnt-foo') @negs = negations_for_option('arent-foo'); # ('arent-foo') @negs = negations_for_option('no-foo'); # ('foo') DESCRIPTION This module aims to provide a nicer negative boolean option names. By default, Getopt::Long provides options --foo as well as --no-foo and --nofoo if you specify boolean option specification foo!. But this produces awkward/incorrect English word like --nowith-foo or --no-is-foo. In those two cases, --without-foo and --isnt-foo are better option names. FUNCTIONS None are exported by default, but they are exportable. negations_for_option($str) => list