summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-08-26 10:00:13 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-08-26 10:00:13 -0700
commite937c40d399bae93789feb66422b1547265ce0e0 (patch)
tree8ec35076956795489cf088b7e183c8d4c74a3a39
parent0163043af7a8e96adfa1b5b3e4055cc161e03216 (diff)
downloadperl-e937c40d399bae93789feb66422b1547265ce0e0.tar.gz
Update UNIVERSAL::VERSION docs following 9bf41c1
-rw-r--r--lib/UNIVERSAL.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/UNIVERSAL.pm b/lib/UNIVERSAL.pm
index d66d4c5598..e649ef2c2f 100644
--- a/lib/UNIVERSAL.pm
+++ b/lib/UNIVERSAL.pm
@@ -1,6 +1,6 @@
package UNIVERSAL;
-our $VERSION = '1.08';
+our $VERSION = '1.09';
# UNIVERSAL should not contain any extra subs/methods beyond those
# that it exists to define. The use of Exporter below is a historical
@@ -165,9 +165,8 @@ block or C<blessed> if you need to be extra paranoid.
C<VERSION> will return the value of the variable C<$VERSION> in the
package the object is blessed into. If C<REQUIRE> is given then
it will do a comparison and die if the package version is not
-greater than or equal to C<REQUIRE>. Both C<$VERSION> or C<REQUIRE>
-must be "lax" version numbers (as defined by the L<version> module)
-or C<VERSION> will die with an error.
+greater than or equal to C<REQUIRE>, or if either C<$VERSION> or C<REQUIRE>
+is not a "lax" version number (as defined by the L<version> module).
C<VERSION> can be called as either a class (static) method or an object
method.