in reply to
More than one way to do it???
I believe the reason $1 is better is that \1 is not necessarily going to be valid beyond the pattern it came from.
Comment on
Re: More than one way to do it???
In Section
Seekers of Perl Wisdom