CLI example #1
$ p6doc Str.flip
flip
multi sub flip(Str:D ) returns Str:D
multi method flip(Str:D:) returns Str:D
Returns the string reversed character by character.
Examples:
"Perl".flip; # lreP
"ABBA".flip; # ABBA
$ p6doc Str.flip
flip
multi sub flip(Str:D ) returns Str:D
multi method flip(Str:D:) returns Str:D
Returns the string reversed character by character.
Examples:
"Perl".flip; # lreP
"ABBA".flip; # ABBA
|
Copyright © 2012 http://www.pmichaud.com/2012/pres/ |