Skip Menu |

This queue is for tickets about the namespace-clean CPAN distribution.

Report information
The Basics
Id: 53516
Status: resolved
Priority: 0/
Queue: namespace-clean

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

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



Subject: Strange failure that happens on 5.11.3
Hi,

I am not sure if this is a bug in namespace::clean, at least it is closely connected to it.

Let us have perl 5.11.3 + namespace::clean 0.11 and create a module "XX.pm" like this:

package XX;
use Socket;
use namespace::clean;
gethostbyaddr( inet_aton( '127.0.0.1' ), AF_INET );
1;

Then:

C:\> perl -e "use XX"
Not a GLOB reference at C:/perl/site/lib/namespace/clean.pm line 171.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

It does not happen on perl 5.10.1.

Anyway it is currently a blocker for Catalyst::Runtime on perl 5.11.3.

--
kmx
For record - it seems to be perl core issue: http://rt.perl.org/rt3/Ticket/Display.html?id=72038
In the end the "maybe-bug" in perl core seems to be a feature, patch for namespace::clean is attached to this RT:

http://rt.perl.org/rt3/Ticket/Display.html?id=72038#txn-649258

--
kmx
0.12 works with 5.11.3