CLI example #3
$ p6doc Str TITLE class Str class Str is Cool does Stringy { } Built-in class for strings. Objects of type Str are immutable. Methods chop multi sub chop(Str:D) returns Str:D multi method chop(Str:D:) returns Str:D Returns the string with one character removed from the end.