http://qs321.pair.com?node_id=638635


in reply to Re: Can we make $& better?
in thread Can we make $& better?

Actually this post is the first time ive even heard of Regexp::MatchContext so no it wasnt in any way the inspiration for ${^MATCH} and friends.

And actually its totally fluke that both use 'p' as the new flag, originally it was 'k' in the core implementation, which was changed to 'p' (for preserve) later on because another TheDamian module uses 'k' for special purposes.

---
$world=~s/war/peace/g