diff options
author | Jos I. Boumans <kane@dwim.org> | 2004-04-28 15:04:47 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-04-28 13:01:13 +0000 |
commit | 36c726b39493413b3d290022ea8659549c919762 (patch) | |
tree | bb24e83aaf716f100224b40989b529fa24d13f58 /lib/base.pm | |
parent | 66e2fd5444a96049971bab49da0a163e8fa5e52d (diff) | |
download | perl-36c726b39493413b3d290022ea8659549c919762.tar.gz |
Add diagnostics section to base.pm
From: "Jos I. Boumans" <kane@dwim.org>
Message-Id: <DC9B4A9C-9903-11D8-BA95-000A956B0E06@dwim.org>
p4raw-id: //depot/perl@22748
Diffstat (limited to 'lib/base.pm')
-rw-r--r-- | lib/base.pm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/base.pm b/lib/base.pm index cc0d3c6e6d..e98d0f1e61 100644 --- a/lib/base.pm +++ b/lib/base.pm @@ -2,7 +2,7 @@ package base; use strict 'vars'; use vars qw($VERSION); -$VERSION = '2.05'; +$VERSION = '2.06'; # constant.pm is slow sub SUCCESS () { 1 } @@ -198,6 +198,17 @@ base classes each have inheritable fields the 'base' pragma will croak. See L<fields>, L<public> and L<protected> for a description of this feature. +=head1 DIAGNOSTICS + +=over 4 + +=item Base class package "%s" is empty. + +base.pm was unable to require the base package, because it was not +found in your path. + +=back + =head1 HISTORY This module was introduced with Perl 5.004_04. |