Skip to content

Instantly share code, notes, and snippets.

@hoelzro
Created June 20, 2014 12:42
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 hoelzro/2a6de4f56618754c6de2 to your computer and use it in GitHub Desktop.
Save hoelzro/2a6de4f56618754c6de2 to your computer and use it in GitHub Desktop.
use Test;
plan 1;
my class Foo {
multi method test(Str $) {
}
multi method test(Str $) {
}
}
my $test = Foo.^method_table<test>;
ok $test.multi, 'Making sure a multi method says it is one';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment