Front page | perl.perl5.porters |
Postings from February 2000
Re: fixing Sys::Hostname
From:
Bart Schuller
Date:
February 8, 2000 00:51
Subject:
Re: fixing Sys::Hostname
Message ID:
20000208095144.A31007@lunatech.com
On Mon, Feb 07, 2000 at 10:11:16PM -0500, Ilya Zakharevich wrote:
> Do we want probing sanity of gethostname() at compile time (trying to
> connect to the returned name?), or at run time? I would prefer
There's already a module that tries harder to give a "useful" answer to
the question "what name should I use to refer to this machine?", I think
it's
Net::Domain - Attempt to evaluate the current host's internet name and domain
I really think it's not too much too ask that perl's gethostname() maps
to C's gethostname(), if only to enable whatever fancy module you want
to get at the raw data.
--
The idea is that the first face shown to people is one they can readily
accept - a more traditional logo. The lunacy element is only revealed
subsequently, via the LunaDude. [excerpted from the Lunatech Identity Manual]