Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: getopts and -?

by Anonymous Monk
on May 10, 2011 at 02:52 UTC ( [id://903896]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MGetopt::Long -MDDS -e " Getopt::Long::Configure(qw[no_ignore_
    +case]); GetOptions( \%h, qw[ l! L:s ] ); Dump(\%h); " -- -l -L asdf
    $HASH1 = {
               L => 'asdf',
               l => 1
             };
    
  2. or download this
    use Getopt::Long qw[ :config no_ignore_case ];
    use DDS;
    local @ARGV = qw[ -l -L asdf ];
    ...
               L => 'asdf',
               l => 1
             };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://903896]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-19 09:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found