in reply to Ping Script Error running on 64bit server
The error:
Use of uninitialized value in split at script/ping2.pl line 74, <IN> line 17
Indicates that $NBTResults[0] is undefined. That probably means that the $NBTResults string just consisted of newlines. In that event, split would return nothing, so $NBTResults[0] would be undefined. That probably leads to the next two errors.
I'd suggest checking for that and skipping processing when that occurs by putting something like:
next unless @NBTResults;
just before line 74.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Ping Script Error running on 64bit server
by jlandrig (Initiate) on Nov 17, 2017 at 18:07 UTC | |
by poj (Abbot) on Nov 18, 2017 at 11:31 UTC |