> On 22 Sep 2017, at 00:32, Bennett Todd <bennett.e.t...@gmail.com> wrote:
> 
> With perl5, that could have been something like. "perl -Mmy -e ...", but I 
> don't have access to a perl6 at this instant to compare. There should be a 
> flag you can use to include a module into the.running environment before 
> evaluating the 
> "-e" code.
> 
> Using "use" within the "-e" string should work, too.

Guess what?  It’s also -M in Rakudo Perl 6:

$ perl6 -MTest -e 'ok 1’
ok 1 - 


Liz

Reply via email to