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

-- 
#!/usr/bin/perl                              http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

Reply via email to