Re: How can i pull out the first line from every file in a directory

2006-12-01 Thread Mumia W.
On 12/01/2006 02:01 PM, Dennis Bourn wrote: Dennis Bourn wrote: Im working on a perl script to add the IP addresses from spam to my blocked list. Each quarentined email is kept in one directory, the IP address of the sender is in the first line of the headers. Im using O'Reilly's "Learning Per

Re: How can i pull out the first line from every file in a directory

2006-12-01 Thread John W. Krahn
Dennis Bourn wrote: > Im working on a perl script to add the IP addresses from spam to my > blocked list. Each quarentined email is kept in one directory, the IP > address of the sender is in the first line of the headers. Im using > O'Reilly's "Learning Perl" as a guide and got some parts working.

Re: How can i pull out the first line from every file in a directory

2006-12-01 Thread Dennis Bourn
Dennis Bourn wrote: Im working on a perl script to add the IP addresses from spam to my blocked list. Each quarentined email is kept in one directory, the IP address of the sender is in the first line of the headers. Im using O'Reilly's "Learning Perl" as a guide and got some parts working. I

How can i pull out the first line from every file in a directory

2006-12-01 Thread Dennis Bourn
Im working on a perl script to add the IP addresses from spam to my blocked list. Each quarentined email is kept in one directory, the IP address of the sender is in the first line of the headers. Im using O'Reilly's "Learning Perl" as a guide and got some parts working. I can list all the file