Perl 6 Perl 6 Documentation - The good, the bad, and the missing #18

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.
Copyright © 2012
http://www.pmichaud.com/2012/pres/