in reply to does split(".") work?
split does not split on a string but on a regular expression. Dot "." is the "match-all" character in a regex so your split won't return anything.
You want my @values = split /\./, $ip instead.
In Section
Seekers of Perl Wisdom