Skip Menu |

This queue is for tickets about the B-Debug CPAN distribution.

Report information
The Basics
Id: 122599
Status: resolved
Priority: 0/
Queue: B-Debug

People
Owner: Nobody in particular
Requestors: ilmari+cpan [...] ilmari.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [PATCH] Mark as deprecated in perl core
Hi Reini, As mentioned in #118391, we would like to deprecate B::Debug from the core, and later remove it. To assist in this, can you please apply the following, to make it issue a warning when used from the core directory on perls where it's deprecated? It will have no effect on older perls, or when the module is installed from CPAN. Thanks in advance, ilmari diff --git a/cpan/B-Debug/Debug.pm b/cpan/B-Debug/Debug.pm index e295635d35..149c22bc52 100644 --- a/cpan/B-Debug/Debug.pm +++ b/cpan/B-Debug/Debug.pm @@ -1,5 +1,7 @@ package B::Debug; +use if "$]" >= 5.027003, 'deprecate'; + our $VERSION = '1.24'; use strict;
Subject: Re: [rt.cpan.org #122599] [PATCH] Mark as deprecated in perl core
Date: Tue, 25 Jul 2017 17:24:39 +0200
To: bug-B-Debug [...] rt.cpan.org
From: Reini Urban <reini.urban [...] gmail.com>
Only if the same applies to cperl. If haven't made up my mind there yet. And it doesn't help you blocking me for no other reason that your ex-maintainer ran amok, and supported a hostile and wrong module takeover. And your new even more immature maintainer calling me and others names. Am 25.07.2017 17:11 schrieb "Dagfinn Ilmari Mannsaker via RT" < bug-B-Debug@rt.cpan.org>: Tue Jul 25 11:09:58 2017: Request 122599 was acted upon. Transaction: Ticket created by ilmari Queue: B-Debug Subject: [PATCH] Mark as deprecated in perl core Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: ilmari+cpan@ilmari.org Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=122599 > Hi Reini, As mentioned in #118391, we would like to deprecate B::Debug from the core, and later remove it. To assist in this, can you please apply the following, to make it issue a warning when used from the core directory on perls where it's deprecated? It will have no effect on older perls, or when the module is installed from CPAN. Thanks in advance, ilmari diff --git a/cpan/B-Debug/Debug.pm b/cpan/B-Debug/Debug.pm index e295635d35..149c22bc52 100644 --- a/cpan/B-Debug/Debug.pm +++ b/cpan/B-Debug/Debug.pm @@ -1,5 +1,7 @@ package B::Debug; +use if "$]" >= 5.027003, 'deprecate'; + our $VERSION = '1.24'; use strict;
Subject: Re: [rt.cpan.org #122599] [PATCH] Mark as deprecated in perl core
Date: Tue, 25 Jul 2017 17:10:46 +0100
To: bug-B-Debug [...] rt.cpan.org
From: ilmari [...] ilmari.org (Dagfinn Ilmari Mannsåker)
"reini.urban@gmail.com via RT" <bug-B-Debug@rt.cpan.org> writes: Show quoted text
> Only if the same applies to cperl. If haven't made up my mind there yet.
If you don't want to deprecate it from cperl, you can add a suitable condition to the 'use if' statement. - ilmari -- "The surreality of the universe tends towards a maximum" -- Skud's Law "Never formulate a law or axiom that you're not prepared to live with the consequences of." -- Skud's Meta-Law
Thanks. Released with 1.26 -- Reini Urban