Re: printing to a file if line is not there

2007-01-12 Thread John W. Krahn
FamiLink Admin wrote: > John, > > Thanks for your help! Chomp and replacing $_ with $site did it! > > Below is the log if you think I can do it without so many splits that > would be great! > > 2007.1.12 8:06:43 - 70.22.222.29 http://www.12gpatt.com/Nightlife.html > *DENIED* Weighted phrase lim

Re: printing to a file if line is not there

2007-01-12 Thread FamiLink Admin
+liveshow) GET 143438 Ryan - Original Message - From: "John W. Krahn" <[EMAIL PROTECTED]> To: "Perl Beginners" Sent: Thursday, January 11, 2007 3:55 PM Subject: Re: printing to a file if line is not there FamiLink Admin wrote: Hello all. Hello, I am tryi

Re: printing to a file if line is not there

2007-01-11 Thread John W. Krahn
FamiLink Admin wrote: > Hello all. Hello, > I am trying to read a log file then look for a website and score. If > that website has a score >100, take it and add it to a "Check me" list. It would be easier to help if we could see examples of valid and invalid log file entries. > 1. I don't wan

printing to a file if line is not there

2007-01-11 Thread FamiLink Admin
Hello all. I am trying to read a log file then look for a website and score. If that website has a score >100, take it and add it to a "Check me" list. 1. I don't want to "recheck" so I have a list of checked sites that I want to verify with. 2. I don't want duplicates added to the "check m