in reply to Stealing lexicals - best practice suggestions

I'd go with #1.

That will allow easier testing - all you need to do is add some tests of your own to the existing ones. It's also cleaner than breaking YAPE::Regex by stealthy mucking in its internals.

If japhy doesn't like your code or your intention, then you can maintain your modified version in a seperate namespace.

After Compline,
Zaxo

  • Comment on Re: Stealing lexicals - best practice suggestions