in reply to Re^14: scandns.pl
in thread scandns.pl

???

When I feed it the number you posted into it. It throws an error.
What did it do when you did it?

--Chris

#!/usr/bin/perl -Tw
use Perl::Always or die;
my $perl_version = (5.12.5);
print $perl_version;

Replies are listed 'Best First'.
Re^16: scandns.pl
by jdporter (Paladin) on Nov 16, 2013 at 17:11 UTC

    No errors, though several warnings. I really don't believe you're using the code you posted.

    Again - using my fix instead of yours in sub validip, the program immediately exits with invalid address, as it ought.