diff options
author | Piotr Fusik <pfusik@op.pl> | 2005-07-31 14:50:04 +0200 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2005-08-02 10:39:51 +0000 |
commit | 3c4b39bee8832007b7e91bfce8701d34cacab411 (patch) | |
tree | 190f72b72255db85e5c78f68a0d0047692aab3a9 /lib/version.pm | |
parent | db30010093a0bacd16d1fa3fd1bd5397da6479d3 (diff) | |
download | perl-3c4b39bee8832007b7e91bfce8701d34cacab411.tar.gz |
Typos in *.p[lm]
From: "Piotr Fusik" <pfusik@op.pl>
Message-ID: <001401c595bd$dccb5d80$0bd34dd5@piec>
p4raw-id: //depot/perl@25261
Diffstat (limited to 'lib/version.pm')
-rw-r--r-- | lib/version.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/version.pm b/lib/version.pm index 3bb0bf8e85..e6e4f3ee1f 100644 --- a/lib/version.pm +++ b/lib/version.pm @@ -152,7 +152,7 @@ purposes of comparison with other version objects. For example: $v = version->new( 1.002_03); # 1.2.30 See "Quoting" $v = version->new( 1.002003); # 1.2.3 -All of the preceeding examples except the second to last are true +All of the preceding examples except the second to last are true whether or not the input value is quoted. The important feature is that the input value contains only a single decimal. @@ -379,7 +379,7 @@ notation and stick with it, to reduce confusion. Perl6 version objects B<may> only support numeric comparisons. See also L<"Quoting">. WARNING: Comparing version with unequal numbers of decimal places (whether -explicitely or implicitely initialized), may yield unexpected results at +explicitly or implicitly initialized), may yield unexpected results at first glance. For example, the following inequalities hold: version->new(0.96) > version->new(0.95); # 0.960.0 > 0.950.0 @@ -485,7 +485,7 @@ obeys the relationship Alpha versions with a single decimal place will be treated exactly as if they were L<Numeric Versions>, for parsing purposes. The stringification for -alpha versions with a single decimal place may seem suprising, since any +alpha versions with a single decimal place may seem surprising, since any trailing zeros will visible. For example, the above $alphaver will print as 12.03_0100 |