in reply to
trouble with @ in a regular expression
You regexp seems fine, but your code fragment doesn't populate $line2. Perhaps the problem is there?
Comment on
Re: trouble with @ in a regular expression
In Section
Seekers of Perl Wisdom