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

Re^3: GetOpt::Long usage style

by OneTrueDabe (Acolyte)
on May 08, 2014 at 16:00 UTC ( #1085476=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        use Getopt::Long;
        GetOptions(
           'single=s' => \(my $single = ''),
            'multi=s' => \(my @multi  = ()),
        );
    
  2. or download this
        use Getopt::Long;
        GetOptions(
           'single=s' => \(my $single = ''),
            'multi=s' => do { use vars '@multi'; \@multi },
        );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2019-05-25 03:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (151 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!