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.