Skip to content

Commit

Permalink
Updated perldoc to show which arguments to a subroutine are optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
soh-cah-toa committed Sep 5, 2011
1 parent cd1bab9 commit 8de7198
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/IRC/Utils.pm
Expand Up @@ -51,7 +51,7 @@ are exported into the caller's namespace by default.
=over 4
=item B<uc_irc(Str $value, Str $type)>
=item B<uc_irc(Str $value, Str $type?)>
Converts a string to uppercase that conforms to the allowable characters as
defined by RFC 1459.
Expand All @@ -75,7 +75,7 @@ Example:
=end code
=item B<lc_irc(Str $value, Str $type)>
=item B<lc_irc(Str $value, Str $type?)>
Converts a string to lowercase that conforms to the allowable characters as
defined by RFC 1459.
Expand All @@ -99,7 +99,7 @@ Example:
=end code
=item B<eq_irc(Str $first, Str $second, Str $type)>
=item B<eq_irc(Str $first, Str $second, Str $type?)>
Checks the equivalence of two strings that conform to the allowable characters
as defined by RFC 1459.
Expand Down Expand Up @@ -247,7 +247,7 @@ Example:
=end code
=item B<is_valid_chan_name(Str $chan, Str @types)>
=item B<is_valid_chan_name(Str $chan, Str @types?)>
Checks if an IRC channel name is valid. That is, it conforms to the allowable
characters defined in RFC 1459.
Expand Down

0 comments on commit 8de7198

Please sign in to comment.