Try to get the full hostname in Perl
