public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
$ cat test.pl
use A;
 
A.new.foo;
 
$ cat A.pm
class A {
method foo {
say "OH HAI";
die;
}
}
 
$ ~/ours/nom-rakudo/install/bin/perl6 test.pl
OH HAI
 
in method foo at test.pl:4 <--- NOTE: it's supposed to say 'A.pm'
in block <anon> at test.pl:3
in <anon> at test.pl:1

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.