in reply to Help with a n Use of uninitialized value in join error message

I think you ran clear off the end of your @ips array.

You have a loop hard-coded to execute 15 times, but there are only 14 elements in your @ips array. So you push two undefined elements at the end.

Replace this:
for ($x = 0; $x < 15; $x++) {
with this:
for ($x = 0; $x <= $#ips; $x++) {
...and I think you'll be OK. Updated: with the correct number of elements. Also changed '<' to '<='. Oops.