Created
June 16, 2016 13:36
-
-
Save anonymous/c090b60c608ad6d17d562eadcbf0391b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[jdv@wieldy ~]$ cat Foo.pm6 | |
module Foo { | |
sub bar { say "baz" } | |
} | |
[jdv@wieldy ~]$ cat test.pl6 | |
my $v = "Foo"; | |
require ::($v); | |
my $m = ::($v); | |
$m::bar(); | |
[jdv@wieldy ~]$ perl6 -I. test.pl6 | |
Cannot find method 'Any' on object of type List | |
in block <unit> at test.pl6 line 4 | |
[jdv@wieldy ~]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment