summaryrefslogtreecommitdiff
path: root/dist/base
diff options
context:
space:
mode:
authorRobin Barker <rmbarker.cpan@btinternet.com>2011-03-07 16:36:39 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-03-07 16:56:19 -0800
commit490f3b05882c31e62e49c88a22cec5beb9960920 (patch)
tree960da01488a0d4232ecf762129481391f2926439 /dist/base
parentbd2b3491121803bdc649750ef798c2271d8b4edd (diff)
downloadperl-490f3b05882c31e62e49c88a22cec5beb9960920.tar.gz
[perl #85638] Docs for 'inherit from yourself' warning in base.pm
The "inherit from yourself" is triggered by C<package Foo; use base 'Foo';> not C<use Foo; use base 'Foo';> as stated in the documentation.
Diffstat (limited to 'dist/base')
-rw-r--r--dist/base/lib/base.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/base/lib/base.pm b/dist/base/lib/base.pm
index 7f3cc55451..8c60b614fa 100644
--- a/dist/base/lib/base.pm
+++ b/dist/base/lib/base.pm
@@ -243,7 +243,7 @@ found in your path.
Attempting to inherit from yourself generates a warning.
- use Foo;
+ package Foo;
use base 'Foo';
=back