=begin pod =TITLE class Method class Method is Routine { } A type for methods. To create a method, use the C keyword: my $m = method ($invocant: $param) { say "$invocant: '$param'"; } "greeting".$m("hello"); # greeting: 'hello' =end pod