in reply to One line assigment statement with regex match
Looking at your code, it's hard to tell which of several different things you're trying to do. Can you explain what you're trying to do and why in more detail?
In Section
Seekers of Perl Wisdom