Re: Beacon 0.9.58 released!
Hi, John -- I saw that you used Net::Domain in your code, but I spaced it
trying to get everything done for this release.
I thought you were referring to Sys::Hostname::FQDN, not Net::Domain, which
would be yet another required module not in most folks' standard Perl
install. (Trying to keep the Beacon *very* user friendly....For some
folks, just having to use Perl 5.6 is a hassle. ;-) )
I'll do some testing with this, and try to get it into the next update,
probably sometime during next week or the week after.
Thanks for the reminder!
Mitch
At 01:35 PM 7/14/2004 -0500, you wrote:
> On Wed, 14 Jul 2004 10:51:02 -0500
> Mitch Kutzko <mitch@ncsa.uiuc.edu> wrote:
>
> > Hi, folks -- The new Beacon (v0.9.58) is now up!
>
> Mitch,
>
> I noticed you added changed:
>
> my $host = $ENV{'HOSTNAME'} || `hostname`;
>
> to:
>
> my $host = hostname; # Use Sys::Hostname to get good hostname
>
> However, you may have noticed in my feedback a few days ago that I
> used the Net::Domain module to get the fqdn. Unfortunately, I found
> Sys::Hostname unable to retrieve the fqdn on my Solaris box, whereas
> Net::Domain succeeded. I believe Sys::Hostname isn't doing much more
> than your previous ENV or `hostname` checks so I'm not sure how much
> that bought us. Net::Domain appears to make a number of sophisticated
> checks for the domain including a DNS lookup if necessary.
>
> John
>
>
--
Mitch Kutzko | mitch@dast.nlanr.net | mitch@ncsa.uiuc.edu | 217-333-1199
http://hobbes.ncsa.uiuc.edu/