in reply to Same pattern match different lines

Try
if ($lines[42] =~ /mSOriginating/)

Update:

bleeder,
if ($lines[42] =~ "mSOriginating")
isnt the problem ;(

T I M T O W T D I