in reply to Finding the Computer Name

There is also Sys::Hostname which provides a platform independent method.

use Sys::Hostname; my $host = hostname;
It is one of the core modules