> > But it also has the “Regexp” cuckoo package inside Regexp/Grammars.pm. 
> > Could that be Regexp::Grammars::Regexp, or is there a reason why it’s a 
> > toplevel name?
> 
> It has to be "Regexp", because otherwise you can't call the method it installs
> on an ordinary regex.

Aha!

> But the package declaration shouldn't be cuckoo'ing CPAN.
> I've changed it to:
> 
>     package   # hide it from CPAN
>     Regexp;
> 
> which I believe should, well, hide it from CPAN.

It will, thanks!
You could also record this in the dist’s metadata, using the no_index key. 
Here’s an example from another dist on CPAN:

        https://metacpan.org/source/JLAVALLEE/Test-Mock-Redis-0.20/Build.PL#L17

> If that's indeed so, then feel free to liberate the Regexp namespace
> from my evil clutches, and I will upload this tweak immediately.

Heh. You didn’t have perms on that package anyway :-)

Regexp,GBARR,f
Regexp,YVES,c

Cheers,
Neil

Reply via email to