Re: how do you pipe to perl6?

2017-08-04 Thread ToddAndMargo
On 08/04/2017 01:07 AM, Elizabeth Mattijsen wrote: On 4 Aug 2017, at 09:47, Todd Chester wrote: In Linux, how do I things to a perl6 one liner? I want to send ip -o -f inet addr show | perl6 ***dig out the netmask on eno1*** I know how to dig out the net mask, I just

Re: how do you pipe to perl6?

2017-08-04 Thread ToddAndMargo
On Fri, 4 Aug 2017 at 08:47 Todd Chester > wrote: Hi All, In Linux, how do I things to a perl6 one liner? I want to send ip -o -f inet addr show | perl6 ***dig out the netmask on eno1*** I know how to dig out the

Re: how do you pipe to perl6?

2017-08-04 Thread Simon Proctor
>From the perl6 -h response you have the standard Perl command line switches -e program one line of program, strict is enabled by default With this case $*IN has the content from the pipe going into it. Personally I combine -e with one of the next two -n run

how do you pipe to perl6?

2017-08-04 Thread Todd Chester
Hi All, In Linux, how do I things to a perl6 one liner? I want to send ip -o -f inet addr show | perl6 ***dig out the netmask on eno1*** I know how to dig out the net mask, I just don't how to pipe to the command. Many thanks, -T