in reply to Find a networked computer name
Have a look at the gethost* family of built-in functions documented in perlfunc.
Hope this helps, -gjb-