Skip to content

Instantly share code, notes, and snippets.

@dha
Created September 28, 2015 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dha/ea03e5c840f7131248de to your computer and use it in GitHub Desktop.
Save dha/ea03e5c840f7131248de to your computer and use it in GitHub Desktop.
Example for proposed template for Perl 6 docs
=begin pod
=head2 routine lc
Defined as:
multi sub lc(Str:D ) returns Str:D
multi method lc(Str:D:) returns Str:D
Usage:
lc($string);
$string.lc;
Returns a lower-case version of the string.
Example:
lc("A"); # returns "a"
"A".lc # returns "a"
=end pod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment