RE: IP Filtering Patch

"Kevin Walsh" <[email protected]> Thu, 20 Feb 2003 20:13:16 -0000
Newsgroups gmane.music.equipment.slimp3.dev
Message-ID <[email protected]>
> This isn't working under OSX.  I'm getting a failure on gethost() using  
> the value returned by hostname(), which in my case is 'firebook'.
> 
I don't have OS/X, but you could try Sys::Hostname::hostname():

    use Sys::Hostname;

    my $hostname = hostname();
    print "$hostname\n";

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    [email protected]
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/FpY02D/vN2EAA/xGHJAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/