summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2022-11-30 15:34:27 +0000
committerPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2023-02-10 14:37:25 +0000
commit0bb17957e5474866af5b126cf584f2f7aa6340fb (patch)
tree7d9a4dce57513e3d93cb161f3e8fd424d6d88990 /pod
parente51627afd15d704290c8201fdfc02bd7951564f3 (diff)
downloadperl-0bb17957e5474866af5b126cf584f2f7aa6340fb.tar.gz
Refuse to create a class if its package already contains a non-empty @ISA array
Diffstat (limited to 'pod')
-rw-r--r--pod/perldiag.pod6
1 files changed, 6 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index c0ca5cc007..933e3390f3 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -713,6 +713,12 @@ no legal conversion from that type of reference to a typeglob.
(P) Perl detected an attempt to copy a value to an internal type that cannot
be directly assigned to.
+=item Cannot create class %s as it already has a non-empty @ISA
+
+(F) An attempt was made to create a class out of a package that already has
+an C<@ISA> array, and the array is not empty. This is not permitted, as it
+would lead to a class with inconsistent inheritance.
+
=item Cannot find encoding "%s"
(S io) You tried to apply an encoding that did not exist to a filehandle,