script to test a file.
From: Rick Bragg (rbragg_at_gmnet.net)
Date: 10/29/03
- Next message: Tim Johnson: "RE: DBI"
- Previous message: Tore Aursand: "Re: How to store arrays in hashes or objects?"
- Next in thread: Andrew Gaffney: "Re: script to test a file."
- Reply: Andrew Gaffney: "Re: script to test a file."
- Maybe reply: Wiggins D Anconia: "Re: script to test a file."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Oct 2003 12:32:40 -0500 To: beginners <beginners@perl.org>
Hi,
I want to write a script that will test the contents of a file.
The file being tested will pass only if it contains nothing more than an
ip address on one line. Does anyone have a sample of a simple regex to
accomplish this?
Thanks
Rick
- Next message: Tim Johnson: "RE: DBI"
- Previous message: Tore Aursand: "Re: How to store arrays in hashes or objects?"
- Next in thread: Andrew Gaffney: "Re: script to test a file."
- Reply: Andrew Gaffney: "Re: script to test a file."
- Maybe reply: Wiggins D Anconia: "Re: script to test a file."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]