Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (9 sloc) 162 Bytes
class Foo {
method method_with_arg($arg) {
say $arg;
}
}
say "1..1";
my $foo = Foo.new();
my $method = "method_with_arg";
$foo."$method"("ok 1");
Something went wrong with that request. Please try again.