[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] How to get the TCP/IP host name



>The interpretation of `hostname` is built into MacPerl itself.  Works on
>any Mac with MacPer.

Well, that sounds perfect then.

>You might also look into Net::Domain (part of libnet), although I don't
>know how well it works on Win32 and I just sent a patch for MacOS, because
>there are problems.  But it should work on Unix, and it tries many methods
>to get the answer.  You can't rely on it being installed everywhere,
>though, although it comes with MacPerl.

Didn't want to use any module which may not be installed.

I'll stay with `hostname`.

Thank you!

Milivoj

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org