Hey,

Does anyone know why this is not working. I have been working on it for an hour and can't figure it out.

use Socket;$iaddr = inet_aton(`/sbin/ifconfig | grep 129.123.98 | cut - d ' ' -f 2`);printf gethostbyaddr($iaddr, AF_INET);

I keep getting the error

-bash: syntax error near unexpected token `('

I am trying to get the host name of the computer.

Thanks for the second set of eyes.


Mark Weiss
http://trustthechildren.blogspot.com

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to