Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: GetOpts::long Multiple Parameters per option

by broomduster (Priest)
on Feb 07, 2011 at 02:24 UTC ( [id://886585]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use v5.10.1;
    ...
    
    say "@{ $options{'a'} }";
    say "@{ $options{'b'} }";
    
  2. or download this
    ./pm-886582 -a a1_1 a1_2 -a a2_1 a2_2 -a a3_1 a3_2
    a1_1 a1_2 a2_1 a2_2 a3_1 a3_2
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-20 03:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found