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
In reply to Re: Stealing lexicals - best practice suggestions
by Zaxo
in thread Stealing lexicals - best practice suggestions
by diotalevi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |