Skip Menu |

This queue is for tickets about the Test-Warn CPAN distribution.

Report information
The Basics
Id: 70716
Status: resolved
Priority: 0/
Queue: Test-Warn

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

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



Subject: T:W depends on Carp
Date: Sun, 4 Sep 2011 15:47:49 +0100
To: bug-Test-Warn [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
Test::Warn doesn't work if Carp version 1.12 or 1.13 is installed, because of a bug in those versions that interacts badly with Sub::Uplevel. Now that Carp is dual-life, I suggest that Test::Warn should declare a dependency on Carp 1.22, the first version released to CPAN, in which the bug is fixed. That is, Warn.pm should say "use Carp 1.22;", and Makefile.PL should include "'Carp' => 1.22," in PREREQ_PM. -zefram
RT-Send-CC: zefram [...] cpan.org
On Sun Sep 04 10:48:01 2011, zefram@fysh.org wrote: Show quoted text
> Test::Warn doesn't work if Carp version 1.12 or 1.13 is installed, > because of a bug in those versions that interacts badly with Sub::Uplevel. > Now that Carp is dual-life, I suggest that Test::Warn should declare a > dependency on Carp 1.22, the first version released to CPAN, in which > the bug is fixed. That is, Warn.pm should say "use Carp 1.22;", and > Makefile.PL should include "'Carp' => 1.22," in PREREQ_PM. > > -zefram
The problem with this is we've now made Test::Warn only runnable on perl 5.16 because Carp 1.22 depends on an IPC::Open3 that only comes with perl 5.16. As best I can tell, IPC::Open3 is not dual life, right?
On Fri Jul 27 23:34:31 2012, TODDR wrote: Show quoted text
> On Sun Sep 04 10:48:01 2011, zefram@fysh.org wrote:
> > Test::Warn doesn't work if Carp version 1.12 or 1.13 is installed, > > because of a bug in those versions that interacts badly with
> Sub::Uplevel.
> > Now that Carp is dual-life, I suggest that Test::Warn should declare
> a
> > dependency on Carp 1.22, the first version released to CPAN, in
> which
> > the bug is fixed. That is, Warn.pm should say "use Carp 1.22;", and > > Makefile.PL should include "'Carp' => 1.22," in PREREQ_PM. > > > > -zefram
> > The problem with this is we've now made Test::Warn only runnable on > perl 5.16 because Carp > 1.22 depends on an IPC::Open3 that only comes with perl 5.16. As best > I can tell, IPC::Open3 is > not dual life, right?
Carp 1.22 and 1.26 depend on IPC::Open3 1.0103, which was included into perl 5.00503. -- Alexandr Ciornii, http://chorny.net