Skip to content

Instantly share code, notes, and snippets.

@masak
Created November 6, 2011 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masak/1343548 to your computer and use it in GitHub Desktop.
Save masak/1343548 to your computer and use it in GitHub Desktop.
$ 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment