Robin Bowes wrote:
John Peacock wrote:
I'm sure that there is a platform-independent way to get the hostname

How about:

use Sys::Hostname;
$host = hostname;

Returns the non-qualified hostname (at least on this Solaris). I guess when it boils down to it, this machine is misconfigured. Sigh.

Reply via email to