Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: GetOptions getting a string

by RichardK (Parson)
on Mar 25, 2018 at 10:20 UTC ( [id://1211690]=note: print w/replies, xml ) Need Help??


in reply to GetOptions getting a string

Also from Getopt::Long see the section 'Options with multiple values'

It says :-

Often it is useful to allow comma-separated lists of values as well as multiple occurrences of the options. This is easy using Perl's split() + and join() operators: GetOptions ("library=s" => \@libfiles); @libfiles = split(/,/,join(',',@libfiles));

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-03-29 00:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found