Host Machine not listed.

Hello everyone,
I have a perl script to list all the host machines in my development environment. The script does various other tasks apart from listing the host names in an excel output. The problem is with the listing of host machines. The script lists all the host names except the host on which the script is executed.
For example, we have hosts cc1,cc2,cc3,cc4 and i execute the script on cc1. The output contains cc2,cc3,cc4 except cc1. Similarly i tried executing the script on cc3, the output misses cc3 and prints cc1,cc2,cc4.
I am not sure if i am missing something. Cant we list the host on which we execute a script? Please help, thanks in advance.

There should be no reason for a script to miss the machine it is running on.

Without seeing the relevant section of your code though, any suggestions would be shots in the dark.

If you could post the section of your script where you either/both garner the list of hostnames / connect to each host then I reckon someone will point you in the right direction

:slight_smile: