On 2019-11-23 18:26, ToddAndMargo via perl6-users wrote:
Hi All,

When folks write programs that read the run line like

       xxxx /a abc /r xyz
or
       xxxx /r xyz /a aaabc
or
       dd bs=4096 if=xxx.iso of=/dev/sdc

basically, in any order.

How do they keep track of what goes where?

Many thanks,
-T

Followup:

With thelp help of the guys over on stack overflow,
the answer is

     zef install Getopt::Long

Reference:

https://stackoverflow.com/questions/59112680/perl6-how-do-i-read-mixed-parameters-from-the-command-line

-T

Reply via email to