[13740] in Athena Bugs
sun4 7.7T: perl
daemon@ATHENA.MIT.EDU (David Krikorian)
Mon Aug 14 04:00:25 1995
To: bugs@MIT.EDU
Date: Mon, 14 Aug 1995 04:00:05 EDT
From: David Krikorian <dkk@MIT.EDU>
System name: partly-cloudy
Type and version: SPARC/5 7.7T (1 update(s) to same version)
Display type: cgthree
What were you trying to do?
perl -e '($host) = gethostbyname("syslogger"); print "$host\n"'
What's wrong:
On a decstation, it returns "EUTERPE.MIT.EDU", but on a Sun it
just fails and gives back the argument ("syslogger");
What should have happened:
Perl should be able to do name resolution under Solaris.
Please describe any relevant documentation references:
The perl manual.