develooper Front page | perl.perl6.users | Postings from November 2019

Re: run line question

Thread Previous | Thread Next
From:
ToddAndMargo via perl6-users
Date:
November 30, 2019 08:10
Subject:
Re: run line question
Message ID:
dd567551-0f67-a4bd-056f-f5eaff89a237@zoho.com
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

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About