Think about Loose Coupling | |
PerlMonks |
Re: Parsing command-line arguments in a sophisticated way.by hdb (Monsignor) |
on Feb 05, 2019 at 09:10 UTC ( [id://1229390]=note: print w/replies, xml ) | Need Help?? |
Getopt::Long can parse command-line options from a string. So my proposal is to take all options as a string, split on --job, and then parse whatever was in front of it. Like this:
In Section
Seekers of Perl Wisdom
|
|