Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (9 sloc) 0.282 kb
=begin pod
=TITLE class Method
class Method is Routine { }
A type for methods. To create a method, use the C<method> keyword:
my $m = method ($invocant: $param) {
say "$invocant: '$param'";
"greeting".$m("hello"); # greeting: 'hello'
=end pod
Jump to Line
Something went wrong with that request. Please try again.