use warnings; $ARGV[4] = "100.200.30.40"; # for the sake of clarification.
my @IPs = split('.', $ARGV[4]); if ($IPs[1] < 100) { print "TRUE"; } else { print "FALSE"; } running it... Use of uninitialized value in numeric lt (<) at ./ppp.rotate line 6. And the condition is *always* true. Now, as far as I know, this is happening because $IPs[1] isn't a integer, but a string.... What I don't know, is how to fix this.... :/ I know this is just one line or one function I'm missing... Please assist :) -- me -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>