develooper Front page | perl.perl5.porters | Postings from February 2000

Re: fixing Sys::Hostname

Thread Previous | Thread Next
From:
Pete Jordan
Date:
February 8, 2000 07:29
Subject:
Re: fixing Sys::Hostname
Message ID:
38A03664.56EB5B89@email.mot.com
Andy Dougherty wrote:

> Probably the most useful one for non-Unix systems is to run
> popen($aphostname, "r") to determine the hostname.

One of the most notable "features" of many broken OSes is a lack of
popen()... ;)

Pete
-- 
use Disclaimer::Standard;     # Motorola GSM Software Factory
my $phone='+44 1793 564450';  # "I reckon that Stonehenge was built by
the
my $fax='+44 1793 566918';    # contemporary equivalent of Microsoft,
whereas
my $mobile='+44 7973 725120'; # Avebury was definitely an Apple circle."
TP

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About