Skip to content

Commit

Permalink
Add draft of method 'new'.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Jul 30, 2012
1 parent 7a00159 commit 1e8e00f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/Version.pod
Expand Up @@ -26,6 +26,16 @@ In comparisons, early parts take precedence over later parts.
=head1 Methods
=head2 new
method new(Str:d $s)
Creates a Version from a string C<$s>. The string is combed
for the numeric, alphabetic, and wildcard components of the version object.
Any characters other than alphanumerics and asterisks are assumed
to be equivalent to a dot. A dot is also assumed between any adjacent
numeric and alphabetic characters.
=head2 parts
method parts(Version:D:) returns List:D
Expand Down

0 comments on commit 1e8e00f

Please sign in to comment.