Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-Autoflush CPAN distribution.

Report information
The Basics
Id: 39308
Status: resolved
Priority: 0/
Queue: Devel-Autoflush

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

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



Subject: Storable t/croak.t failures
It may be that Devel::Autoflush is causing the t/croak.t failure in Storable 2.18. This test script checks first if Carp.pm is not loaded and dies if it is. In a normal environment this works. However, Devel::Autoflush seems to load Carp.pm via vars.pm, so the test fails. I would suggest to strip Devel::Autoflush to the absolute minimum to avoid potential problems. That is, remove "use strict" and "use vars". It seems that the module is small enough to do so :-) Regards, Slaven
On Mon Sep 15 17:09:36 2008, SREZIC wrote: Show quoted text
> It may be that Devel::Autoflush is causing the t/croak.t failure in > Storable 2.18. This test script checks first if Carp.pm is not loaded > and dies if it is. In a normal environment this works. However, > Devel::Autoflush seems to load Carp.pm via vars.pm, so the test fails. > > I would suggest to strip Devel::Autoflush to the absolute minimum to > avoid potential problems. That is, remove "use strict" and "use vars". > It seems that the module is small enough to do so :-) >
Not all vars.pm versions seem to use Carp.pm: $ perl5.10.0 -Mvars -e 'warn defined &Carp::carp' Warning: something's wrong at -e line 1. $ perl5.8.8 -Mvars -e 'warn defined &Carp::carp' 1 at -e line 1. $ perl5.6.2 -Mvars -e 'warn defined &Carp::carp' 1 at -e line 1.
Great suggestion. Releasing 0.03 now.