script to test a file.

From: Rick Bragg (rbragg_at_gmnet.net)
Date: 10/29/03


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