diff options
author | Ricardo Signes <rjbs@semiotic.systems> | 2022-04-03 10:26:23 -0400 |
---|---|---|
committer | Ricardo Signes <rjbs@semiotic.systems> | 2022-05-20 13:59:10 -0400 |
commit | 64e6d7e4c8c1b1108457df5594218b754dbb6c50 (patch) | |
tree | db82e73cfee2d850e2caf206506c4e8afa45112b | |
parent | c9928b61bae01f3d15891b4ef752e09d18ded6b2 (diff) | |
download | perl-64e6d7e4c8c1b1108457df5594218b754dbb6c50.tar.gz |
perl5360delta: move a perldiag update to Diagnostics
-rw-r--r-- | pod/perldelta.pod | 34 |
1 files changed, 12 insertions, 22 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 4da228adbf..aa7e50c937 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -450,10 +450,6 @@ file and be sure to link to the appropriate page, e.g. L<perlfunc>. This document provides the process for administering an election or vote within the Perl Core Team. -=head3 L<XXX> - -XXX Description of the purpose of the new file here - =head2 Changes to Existing Documentation We have attempted to update the documentation to reflect the changes @@ -477,24 +473,6 @@ L<Pod::Html::Util> that are no longer intended to be used outside of core. =back -=head3 L<perldiag> - -=over 4 - -=item * - -L<Can't modify %s in %s|perldiag/"Can't modify %s in %s"> -(for scalar assignment to C<undef>) - -Attempting to perform a scalar assignment to C<undef>, for example via -C<undef = $foo;>, previously triggered a fatal runtime error with the -message "L<Modification of a read-only value attempted|perldiag/"Modification of a read-only value attempted">." -It is more helpful to detect such attempted assignments prior to -runtime, so they are now compile time errors, resulting in the message -"Can't modify undef operator in scalar assignment". - -=back - =head3 L<perlexperiment> =over 4 @@ -580,6 +558,18 @@ not permitted. =item * +L<Can't modify %s in %s|perldiag/"Can't modify %s in %s"> (for scalar +assignment to C<undef>) + +Attempting to perform a scalar assignment to C<undef>, for example via +C<undef = $foo;>, previously triggered a fatal runtime error with the +message "L<Modification of a read-only value attempted|perldiag/"Modification of a read-only value attempted">." +It is more helpful to detect such attempted assignments prior to runtime, so +they are now compile time errors, resulting in the message "Can't modify undef +operator in scalar assignment". + +=item * + L<panic: newFORLOOP, %s|perldiag/"panic: newFORLOOP, %s"> The parser failed an internal consistency check while trying to parse |