use Win32::AdminMisc; my $machinename = Win32::AdminMisc::GetComputerName(); [download]
In reply to Re: Retrieving an NT machine name? by gaggio in thread Retrieving an NT machine name? by Anonymous Monk