Skip to content

Instantly share code, notes, and snippets.

@jnthn
Created May 30, 2010 01:27
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 jnthn/418686 to your computer and use it in GitHub Desktop.
Save jnthn/418686 to your computer and use it in GitHub Desktop.
Given the code:
class A {
method foo() {
lol()
}
}
sub bar() { A.foo(); }
bar();
We get:
Could not find sub &lol
in 'foo' at line 2
in 'bar' at line 7
in main program body at line 9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment