On 06/03/2018 03:07 PM, Brandon Allbery wrote:
I'm still trying to figure out why you have just "lib" instead of "use
lib" there. And why it's not throwing an error.
As poop! I was mixing Perl 5 and Perl 6.
$ p6 'use lib <./>; use RunNoShell; ( my $a, my $b ) = RunNoShell("ls");
say $a;'
Works
But
$ p6 'use lib <./>; use RunNoShell; ( my $a, my $b ) =
RunNoShell::RunNoShell("ls6"); say $a;'
Could not find symbol '&RunNoShell'
in block <unit> at -e line 1
The syntax `RunNoShell::RunNoShell` comes from Perl 5. Is this
not allows in Perl 6?