At 09:17 -0800 on 98/03/27, aq@snow.btinternet.com wrote: > However, having briefly looked at ordinary Perl scripts, they seem to use a >lot of unix-based things, such as getting the hostname using >$hostname=`/etc/hostname` and suchlike, which doesn't work on a Mac. :-) actually, Matthias has implemented `hostname` (note there is no /etc path on that, just `hostname`) which will return the hostname if MacTCP is running. (What happens if MacTCP isn't running? The hostname is still stored in the Filesharing preferences.) Vicki |\ _,,,---,,_ Vicki Brown - vlb@cfcl.com ZZZzz /,`.-'`' -. ;-;;,_ http://www.cfcl.com/~vlb |,4- ) )-,_. ,\ ( `'-' P.O. Box 1269 San Bruno CA 94066 '---''(_/--' `-'\_) Ooit'n Normaal Mens Ontmoet? En... Beviel't? Ever met a normal person? So... did you like it? ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch