Re: Matching the contents of an array

2006-03-17 Thread Jay Savage
On 3/16/06, Jeff Pang <[EMAIL PROTECTED]> wrote: > > > > >I'm havig problems getting information out of a file and having it write > >each of the dates to an array. The problem is, I don't want duplicates. > > > > After reading your program carefully,I think you just want to get the count > incre

Re: Matching the contents of an array

2006-03-16 Thread Jeff Pang
> >I'm havig problems getting information out of a file and having it write each >of the dates to an array. The problem is, I don't want duplicates. > After reading your program carefully,I think you just want to get the count increase for each uniq $data. In perl programming,HASH is very usefu

Matching the contents of an array

2006-03-16 Thread HObbES
Hi all, I'm havig problems getting information out of a file and having it write each of the dates to an array. The problem is, I don't want duplicates. A sample log entry looks like this: [07/Feb/2006:19:57:35 +] 1.2.3.4 SSLv3 RC4-MD5 "GET /package-update.tar HTTP/1.1" 231 Ed Smith p