Skip Menu |

This queue is for tickets about the AutoSession CPAN distribution.

Report information
The Basics
Id: 67294
Status: open
Priority: 0/
Queue: AutoSession

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc: dgl [...] dgl.cx
AdminCc:

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



CC: dgl [...] dgl.cx
Subject: v5.13.10-407-g1541ec6 breaks AutoSession
The change in bleadperl that "Stops using AutoLoader in Storable" makes AutoSession fail its tests. CC'd to David Leadbeater who wrote that change, I'm sure he can point out the effect better than me. Thanks,
On 2011-04-07 02:02:14, ANDK wrote: Show quoted text
> The change in bleadperl that "Stops using AutoLoader in Storable" makes > AutoSession fail its tests. > > CC'd to David Leadbeater who wrote that change, I'm sure he can point > out the effect better than me. >
The problem can be replicated with the following short script $INC{'Log/Agent.pm'} = '#ignore#' ; require Storable; Probably the hack to avoid loading Log::Agent should be done differently, as Storable now expects that the function logcroak and logcarp, normally imported from Log::Agent, are available. Regards, Slaven
CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #67294] v5.13.10-407-g1541ec6 breaks AutoSession
Date: Sat, 16 Apr 2011 16:55:26 +0200
To: bug-AutoSession [...] rt.cpan.org
From: David Leadbeater <dgl [...] dgl.cx>
[This didn't get to me before for some reason.] AutoSession is relying on faking Log::Agent being loaded to suppress warnings as far as I can tell. Storable is assuming that loading Log::Agent will provide logcroak and logcarp (which it didn't before), if the actual Log::Agent is loaded that will happen, but the fake entry in %INC added by AutoSession doesn't meet these requirements. This seems like a bug in AutoSession to me. David