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:
Then:
It does not happen on perl 5.10.1.
Anyway it is currently a blocker for Catalyst::Runtime on perl 5.11.3.
--
kmx
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;
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.
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