in reply to Re: scandns.pl
in thread scandns.pl
That's stupid. A better, simpler, less logic-assaulting change would be to address the warning message itself, by changing
tomy $x;
More to the point, your "fix" completely blows the logic of the code, which attempts to implement the requirement that all four of the octets must be in the range 0..255. Your "fix" would say that an argument of 1.99999.99999.99999 is a valid IP address.my $x=0;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: scandns.pl
by taint (Chaplain) on Nov 14, 2013 at 04:57 UTC | |
Re^3: scandns.pl
by taint (Chaplain) on Nov 14, 2013 at 06:00 UTC | |
by jdporter (Paladin) on Nov 14, 2013 at 20:12 UTC | |
by afoken (Chancellor) on Nov 16, 2013 at 08:53 UTC | |
Re^3: scandns.pl
by taint (Chaplain) on Nov 14, 2013 at 05:29 UTC | |
by jdporter (Paladin) on Nov 14, 2013 at 20:21 UTC | |
by taint (Chaplain) on Nov 14, 2013 at 21:20 UTC | |
by jdporter (Paladin) on Nov 15, 2013 at 01:50 UTC | |
by taint (Chaplain) on Nov 15, 2013 at 02:32 UTC | |
|