develooper Front page | perl.perl5.porters | Postings from March 2001

small base.pm doc patch

Thread Next
From:
Leon Brocard
Date:
March 30, 2001 12:49
Subject:
small base.pm doc patch
Message ID:
20010330214957.B8733@ns0.astray.com
The documentation for base.pm states:

  If $VERSION is not detected even after loading it, <base> will 
  define $VERSION in the base package, setting it to the string 
  C<-1, defined by base.pm>. 

However, the source actually sets it to: "-1, set by base.pm".

Ref: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/1999-05/msg00811.html

I'm not convinced which way the patch should go, but the following
Really Small patch updates the docs to be correct:

--- base.pm.orig	Fri Mar 30 21:43:32 2001
+++ base.pm	Fri Mar 30 21:46:09 2001
@@ -30,7 +30,7 @@
 determined by the absence of a global $VERSION in the base package.
 If $VERSION is not detected even after loading it, <base> will
 define $VERSION in the base package, setting it to the string
-C<-1, defined by base.pm>.
+C<-1, set by base.pm>.
 
 =head1 HISTORY
 
HTH, Leon
-- 
Leon Brocard.............................http://www.astray.com/
yapc::Europe............................http://yapc.org/Europe/

... Reality? That's where the pizza delivery guy comes from!


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About