in reply to Re: Retrieving an NT machine name?
in thread Retrieving an NT machine name?

Or for strictly Windows machines (don't know of any other's that have this particular environment variable) you can use:
$ENV{COMPUTERNAME}
HTH...

#!/home/bbq/bin/perl
# Trust no1!