in reply to Finding pages without specific words
Hello
Your if tests are also using the wrong operator.
if ( $line !~ /$nameOne/i )
'!~' rather than '!='
Running with Warnings enabled would have shown this error. :)
Wonko
|
---|
In Section
Seekers of Perl Wisdom