On 06/03/2018 03:15 PM, Thomas Klausner wrote:
Hi!

On Sun, Jun 03, 2018 at 03:05:33PM -0700, ToddAndMargo wrote:
On 06/03/2018 02:54 PM, Brad Gilbert wrote:

But in this case it is even better to use -I and -M

      p6 -I. -MRunNoShell -e '( my $a, my $b ) =
           RunNoShell::RunNoShell("ls *.pm6"); say $a;'

$ perl6 -I -MRunNoShell '( my $a, my $b ) = RunNoShell::RunNoShell("ls
\*.pm6"); say $a;'

You forgot
   -e

to tell p6 to eval the following string

Greetings,
domm



Thank you

Reply via email to