diff options
author | James E Keenan <jkeenan@cpan.org> | 2018-10-12 22:29:46 -0400 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2018-10-17 07:59:14 -0400 |
commit | d8ff3e95e0f2357b6f26f5a94c52c46231fb1a74 (patch) | |
tree | bc2a4c5d472a1c47cdb4237b012ffb30445ac9bd /pod/perldiag.pod | |
parent | dcb414ac3e404a94d6b3ba0a9a06e72ae0ab368d (diff) | |
download | perl-d8ff3e95e0f2357b6f26f5a94c52c46231fb1a74.tar.gz |
Implement fatalization of dump()
Must now be written fully qualified: CORE::dump().
Adapt tests that previously warned, plus adapt one test that incidentally used dump().
For: RT # 133584
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r-- | pod/perldiag.pod | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index afac8798f8..82d3e4e768 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -2128,13 +2128,11 @@ something that isn't defined yet, you don't actually have to define the subroutine or package before the current location. You can use an empty "sub foo;" or "package FOO;" to enter a "forward" declaration. -=item dump() better written as CORE::dump(). dump() will no longer be available in Perl 5.30 +=item dump() must be written as CORE::dump() as of Perl 5.30 -(D deprecated, misc) You used the obsolescent C<dump()> built-in function, -without fully qualifying it as C<CORE::dump()>. Maybe it's a typo. - -Use of a unqualified C<dump()> was deprecated in Perl 5.8.0, and this -will not be available in Perl 5.30. +(F) You used the obsolete C<dump()> built-in function. That was deprecated in +Perl 5.8.0. As of Perl 5.30 it must be written in fully qualified format: +C<CORE::dump()>. See L<perlfunc/dump>. |