You want my @values = split /\./, $ip instead.
In reply to Re: does split(".") work? by Joost in thread does split(".") work? by dtd1941