Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I.. I have no idea what to even call this #3

Open
karenetheridge opened this issue Aug 19, 2014 · 4 comments
Open

I.. I have no idea what to even call this #3

karenetheridge opened this issue Aug 19, 2014 · 4 comments

Comments

@karenetheridge
Copy link

the original report: http://www.cpantesters.org/cpan/report/41acd3f2-238d-11e4-9431-1786c7ccabfc

@haarg boiled this down to:

use strict;
use warnings FATAL => 'all';

use Package::Stash::XS;
unshift @INC, sub {
  "a" =~ /a/;
  return;
};

Package::Stash::XS->new("abc::def");

@doy
Copy link
Owner

doy commented Aug 19, 2014

This is called "regular expression matching is not reentrant in 5.8". I'm not particularly interested in trying to solve this myself, but if anyone has any non-insane patches, I'd be willing to look at them.

@doy
Copy link
Owner

doy commented Aug 19, 2014

@haarg
Copy link

haarg commented Aug 20, 2014

The modules getting loaded, causing the @INC hook to be triggered, are utf8.pm and utf8_heavy.pl. Could _is_valid_module_name either avoid using UTF8, or preload the modules?

@ribasushi
Copy link

@haarg it seems "the cabal" has perms for this, can it ship somehow...?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants