Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Since Foo::.#Home.pm is not a valid module name, I don't think Module::Pluggable should be loading it. It's not a difficult thing to check. I'd file the bug report.

    • Hmm, I thought I was skipping non valid files. I'll have a check and see what's going on.
      • I think this line is at fault:

          next unless $plugin =~ m!(?:[a-z\d]+)[a-z\d]!i;
        It should probably be something like:

          next unless $plugin =~ m!\A [a-z]\w* (?: ::[a-z]\w* )* \z!ix;
        Does Perl allow Unicode in module names? I though not, but if so [a-z] is too restrictive