Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: getopts and -?

by viffer (Sexton)
on May 10, 2011 at 02:49 UTC ( #903895=note: print w/replies, xml ) Need Help??


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 (Sexton) 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 :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://903895]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2017-11-23 00:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (327 votes). Check out past polls.

    Notices?