more useful options | |
PerlMonks |
Re: PERL REST API Post scriptby tangent (Parson) |
on Feb 10, 2020 at 21:51 UTC ( [id://11112745]=note: print w/replies, xml ) | Need Help?? |
Not an answer, but, when writing command line scripts I find using the core module Getopt::Long to parse options much more flexible (and easier to debug). For your script:
You would then call it with the arguments in any order, and you can easily add options:
In Section
Seekers of Perl Wisdom
|
|