FYI, you can install p6doc with "panda install p6doc", which is the Perl 6 equivalent of perldoc. I don't believe it has in-language methods yet, but I imagine it wouldn't be that hard. For now, it's a CLI tool.
# p6doc Str.tclc
routine tclc
multi sub tclc(Str:D ) returns Str:D multi method tclc(Str:D:)
returns Str:D
Turns the first character to title case, and all other characters to lower case
(not implemented in Niecza)