in reply to Help with a n Use of uninitialized value in join error message
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:with this:for ($x = 0; $x < 15; $x++) {
...and I think you'll be OK. Updated: with the correct number of elements. Also changed '<' to '<='. Oops.for ($x = 0; $x <= $#ips; $x++) {
|
|---|