in reply to Can we make $& better?
In perl 5.10, $^MATCH will be equivalent to $& but at the same time the global speed penalties will not come into play. This means $& can be left alone.
The price to pay is that you will need to add the /p modifier flag to the pattern in order to tell perl that you want them. A reasonable trade-off.
• another intruder with the mooring in the heart of the Perl
In Section
Seekers of Perl Wisdom