=begin pod =TITLE class Sub class Sub is Routine { } A type for subroutines. Subs are created with the C keyword my $s = sub ($a, $b) { $a + $b }; say $s.WHAT; # Sub() say $s(2, 5); # 7 =end pod