diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-04-10 20:40:14 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-04-10 20:40:14 +0000 |
commit | bcbfb61f88277e13fc99a5975ccfe2d69a14b0f0 (patch) | |
tree | ea37773a0fb560dd389e46b6babd350d0a83bfb5 /lib/base.pm | |
parent | 5cd0b561c2b8d21210f0eb90d689d190c3da3c72 (diff) | |
download | perl-bcbfb61f88277e13fc99a5975ccfe2d69a14b0f0.tar.gz |
Peter Scott suggests that the docs for base.pm should
state explicitely that base.pm doesn't call import()
on base classes. Plus a few typos.
p4raw-id: //depot/perl@19189
Diffstat (limited to 'lib/base.pm')
-rw-r--r-- | lib/base.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/base.pm b/lib/base.pm index 37f220f63a..8564c6ca40 100644 --- a/lib/base.pm +++ b/lib/base.pm @@ -22,15 +22,15 @@ it. Multiple inheritance of %FIELDS is not supported. The 'base' pragma will croak if multiple base classes have a %FIELDS hash. See L<fields> for a description of this feature. -When strict 'vars' is in scope I<base> also let you assign to @ISA +When strict 'vars' is in scope, I<base> also lets you assign to @ISA without having to declare @ISA with the 'vars' pragma first. If any of the base classes are not loaded yet, I<base> silently -C<require>s them. Whether to C<require> a base class package is -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, set by base.pm>. +C<require>s them (but it won't call the C<import> method). Whether to +C<require> a base class package is determined by the absence of a global +$VERSION in the base package. If $VERSION is not detected even after +loading it, I<base> will define $VERSION in the base package, setting it to +the string C<-1, set by base.pm>. =head1 HISTORY |