Skip Menu |
 

This queue is for tickets about the lib-none CPAN distribution.

Report information
The Basics
Id: 94668
Status: resolved
Priority: 0/
Queue: lib-none

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

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



Subject: Emptying @INC should be done in import, not on load
Download (untitled) / with headers
text/plain 205b
Loading a module but explicitly bypassing import (via `-mlib::none`, `use lib::none ();`, or `require lib::none;`) should not have side effects. Instead, emptying @INC should be done in the import method.
Download (untitled) / with headers
text/plain 295b
On Sat Apr 12 07:50:48 2014, haarg wrote: Show quoted text
> Loading a module but explicitly bypassing import (via `-mlib::none`, > `use lib::none ();`, or `require lib::none;`) should not have side > effects. Instead, emptying @INC should be done in the import method.
Makes sense. Rectified in 0.02. Thanks.
Subject: Re: [rt.cpan.org #94668] Emptying @INC should be done in import, not on load
Date: Mon, 14 Apr 2014 19:35:53 +0700
To: bug-lib-none [...] rt.cpan.org
From: Steven Haryanto <stevenharyanto [...] gmail.com>
Download (untitled) / with headers
text/plain 852b
It's because of Regexp::Grammar croak-ing under 5.18. 5.18 did famously broke RG; I've read somewhere that it's been fixed, but haven't checked into it yet. On Sat, Apr 12, 2014 at 6:50 PM, Graham Knop via RT < bug-lib-none@rt.cpan.org> wrote: Show quoted text
> Sat Apr 12 07:50:48 2014: Request 94668 was acted upon. > Transaction: Ticket created by haarg > Queue: lib-none > Subject: Emptying @INC should be done in import, not on load > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: haarg@haarg.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94668 > > > > Loading a module but explicitly bypassing import (via `-mlib::none`, `use > lib::none ();`, or `require lib::none;`) should not have side effects. > Instead, emptying @INC should be done in the import method. >
Subject: Re: [rt.cpan.org #94668] Emptying @INC should be done in import, not on load
Date: Mon, 14 Apr 2014 19:36:22 +0700
To: bug-lib-none [...] rt.cpan.org
From: Steven Haryanto <stevenharyanto [...] gmail.com>
Sorry, ignore the previous email. Replied to the wrong thread. On Mon, Apr 14, 2014 at 7:35 PM, Steven Haryanto <stevenharyanto@gmail.com>wrote: Show quoted text
> It's because of Regexp::Grammar croak-ing under 5.18. 5.18 did famously > broke RG; I've read somewhere that it's been fixed, but haven't checked > into it yet. > > > > On Sat, Apr 12, 2014 at 6:50 PM, Graham Knop via RT < > bug-lib-none@rt.cpan.org> wrote: >
>> Sat Apr 12 07:50:48 2014: Request 94668 was acted upon. >> Transaction: Ticket created by haarg >> Queue: lib-none >> Subject: Emptying @INC should be done in import, not on load >> Broken in: (no value) >> Severity: (no value) >> Owner: Nobody >> Requestors: haarg@haarg.org >> Status: new >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94668 > >> >> >> Loading a module but explicitly bypassing import (via `-mlib::none`, `use >> lib::none ();`, or `require lib::none;`) should not have side effects. >> Instead, emptying @INC should be done in the import method. >>
> >


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.