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
[perl #117941] Blessing into freed current stash
[perl5.git]
/
pod
/
perldiag.pod
diff --git
a/pod/perldiag.pod
b/pod/perldiag.pod
index
86e1b46
..
ff922fb
100644
(file)
--- a/
pod/perldiag.pod
+++ b/
pod/perldiag.pod
@@
-259,6
+259,12
@@
thread. See L<threads>.
(F) The failing code has attempted to get or set a key which is not in
the current set of allowed keys of a restricted hash.
(F) The failing code has attempted to get or set a key which is not in
the current set of allowed keys of a restricted hash.
+=item Attempt to bless into a freed package
+
+(F) You wrote C<bless $foo> with one argument after somehow causing
+the current package to be freed. Perl cannot figure out what to
+do, so it throws up in hands in despair.
+
=item Attempt to bless into a reference
(F) The CLASSNAME argument to the bless() operator is expected to be
=item Attempt to bless into a reference
(F) The CLASSNAME argument to the bless() operator is expected to be