This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add diagnostics section to base.pm
[perl5.git]
/
lib
/
base.pm
diff --git
a/lib/base.pm
b/lib/base.pm
index
cc0d3c6
..
e98d0f1
100644
(file)
--- a/
lib/base.pm
+++ b/
lib/base.pm
@@
-2,7
+2,7
@@
package base;
use strict 'vars';
use vars qw($VERSION);
use strict 'vars';
use vars qw($VERSION);
-$VERSION = '2.0
5
';
+$VERSION = '2.0
6
';
# constant.pm is slow
sub SUCCESS () { 1 }
# 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.
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.
=head1 HISTORY
This module was introduced with Perl 5.004_04.