Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit cc1e8a9

Browse files
committed
Add B::Debug deprecation
to the docs. Bump deprecate to 0.03_01 for added docs.
1 parent df3cb29 commit cc1e8a9

File tree

6 files changed

+19
-11
lines changed

6 files changed

+19
-11
lines changed

Porting/Maintainers.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ package Maintainers;
229229
'CUSTOMIZED' => [ qw[ t/test10 ] ],
230230
},
231231

232-
'B::Debug' => {
233-
'DISTRIBUTION' => 'RURBAN/B-Debug-1.24.tar.gz',
232+
'B::Debug' => { # deprecated, remove with 5.30
233+
'DISTRIBUTION' => 'RURBAN/B-Debug-1.25.tar.gz',
234234
'FILES' => q[cpan/B-Debug],
235235
'EXCLUDED' => ['t/pod.t'],
236236
},

dist/Module-CoreList/lib/Module/CoreList.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15020,7 +15020,8 @@ our %delta = (
1502015020
'B::C' => '1.55_04',
1502115021
'B::Debug' => '1.25',
1502215022
'base' => '2.26c',
15023-
'Cpanel::JSON::XS' => '3.0236',
15023+
'Cpanel::JSON::XS' => '3.0236',
15024+
'deprecate' => '0.03_01',
1502415025
'Devel::Peek' => '1.26_02',
1502515026
'Devel::PPPort' => '3.36_02',
1502615027
'ExtUtils::Constant' => '0.23_09',

lib/deprecate.pm

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package deprecate;
22
use strict;
33
use warnings;
4-
our $VERSION = 0.03;
4+
our $VERSION = 0.03_01;
55

66
# our %Config can ignore %Config::Config, e.g. for testing
77
our %Config;
@@ -79,6 +79,10 @@ deprecate - Perl pragma for deprecating the core version of a module
7979
8080
use if $] > 5.010, 'deprecate'; # conditionally deprecate the module
8181
82+
or for modules supported earlier than v5.6.2:
83+
84+
BEGIN { if ($] >= 5.027001) { require deprecate; import deprecate; } }
85+
8286
8387
=head1 DESCRIPTION
8488

pod/perlcdelta.pod

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ XXX Any deprecated features, syntax, modules etc. should be listed here.
8282

8383
=head2 Module removals
8484

85-
XXX Remove this section if inapplicable.
86-
8785
The following modules will be removed from the core distribution in a
8886
future release, and will at that time need to be installed from CPAN.
8987
Distributions on CPAN which require these modules will need to list them as
@@ -100,10 +98,10 @@ not usually on concerns over their design.
10098

10199
=over
102100

103-
=item XXX
101+
=item L<B::Debug>
104102

105-
XXX Note that deprecated modules should be listed here even if they are listed
106-
as an updated module in the L</Modules and Pragmata> section.
103+
will be removed from core with 5.30, and needs to be installed from
104+
CPAN then. Best together with L<B::Flags>.
107105

108106
=back
109107

@@ -259,6 +257,10 @@ Restore silence under C<make -s>. I broke it in cperl 5.27.0
259257
Add C<#if { CPERL && VERSION > 5.26.0 }> support,
260258
support parser enum expectation.
261259

260+
=item L<deprecate> 0.03_01
261+
262+
Add pod synopsis for modules for older perls.
263+
262264
=item L<Encode>
263265

264266
Skip the flapping test F<t/Aliases.t> on threaded smokers, with random

t/porting/customized.dat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Math::BigInt cpan/Math-BigInt/t/upgrade.t 7c15cac7f321ca396648ec45da6389a1283e15
100100
Math::BigInt cpan/Math-BigInt/t/upgradef.t 06610e9883ce805bcd6543ab959a9826f598eb40
101101
Math::BigInt cpan/Math-BigInt/t/with_sub.t c040328e223df6f56250f5d67dcb2c9a2f23c110
102102
Memoize cpan/Memoize/t/expmod_t.t 9386100cd9c95a0e8a4e001bba3aa52eec114d21
103-
Module::CoreList dist/Module-CoreList/lib/Module/CoreList.pm 234c4b6cb355c868835d63f86ada1992a6a16d43
103+
Module::CoreList dist/Module-CoreList/lib/Module/CoreList.pm b8efb510da582db003521b06f02005760b7b951d
104104
Module::CoreList dist/Module-CoreList/lib/Module/CoreList/Utils.pm d013ed514d49e14ac007743cb5b05fc2a624a321
105105
Module::Metadata cpan/Module-Metadata/t/lib/GeneratePackage.pm 502ffbe2609947430e6aa1a3df8064b3fef3e086
106106
Net::Domain cpan/libnet/lib/Net/Cmd.pm 70a007c38833667ad47ea8059c37c1b7d1c77b6c

t/porting/known_pod_issues.dat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ pod/perl5270cdelta.pod Apparent broken link 3
429429
pod/perl5270cdelta.pod Apparent internal link is missing its forward slash 1
430430
pod/perl5270cdelta.pod Verbatim line length including indents exceeds 79 by 1
431431
pod/perl5270cdelta.pod alternative text. contains non-escaped | or / 1
432-
pod/perl5271cdelta.pod Apparent broken link 4
432+
pod/perl5271cdelta.pod Apparent broken link 5
433433
pod/perl5271cdelta.pod Apparent internal link is missing its forward slash 1
434434
pod/perl5271cdelta.pod Verbatim line length including indents exceeds 79 by 2
435435
pod/perlandroid.pod Verbatim line length including indents exceeds 79 by 3
@@ -481,6 +481,7 @@ porting/todo.pod ? Should you be using F<...> or maybe L<...> instead of 1
481481
lib/benchmark.pm Verbatim line length including indents exceeds 79 by 2
482482
lib/config.pod ? Should you be using L<...> instead of -1
483483
lib/cperl.pm Pod NAME already used 1
484+
lib/deprecate.pm Verbatim line length including indents exceeds 79 by 1
484485
lib/extutils/embed.pm Verbatim line length including indents exceeds 79 by 2
485486
lib/fake_signatures.pm Apparent broken link 2
486487
lib/perl5db.pl ? Should you be using L<...> instead of 1

0 commit comments

Comments
 (0)