http://www.perlmonks.org?node_id=903895


in reply to Re^3: getopts and -?
in thread getopts and -?

Case and abbreviations

Without additional configuration, GetOptions() will ignore the case of option names, and allow the options to be abbreviated to uniqueness.

Just wondering if anyone knows what "additional configuration" is required?

Replies are listed 'Best First'.
Re^5: getopts and -?
by viffer (Beadle) on May 10, 2011 at 02:54 UTC
    use Getopt::Long qw(:config no_ignore_case);

    I'll get my coat!

    Thanks for your help :)