Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Finding pages without specific words

by Wonko the sane (Deacon)
on Mar 08, 2004 at 12:57 UTC ( [id://334788]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://334788]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-24 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found