Front page | perl.perl6.users |
Postings from December 2019
Re: run line question
Thread Previous
From:
ToddAndMargo via perl6-users
Date:
December 1, 2019 01:24
Subject:
Re: run line question
Message ID:
f61aa088-c83f-c6cd-2a3e-f7c30b9cc31f@zoho.com
On 2019-11-30 00:10, ToddAndMargo via perl6-users wrote:
> 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
And there is always the MAIN subroutine:
https://stackoverflow.com/questions/57041053/main-subroutine
Thread Previous