Search notes:

Perl module Sys::Hostname

use warnings;
use strict;

use Sys::Hostname;

printf "Name of host: %s\n", hostname; # Compare with  "use Config; print $Config{aphostname}"
Github repository PerlModules, path: /Sys/Hostname/script.pl
Perl modules.

Index