deja_vu_was_better <> wrote in news:3c0bed90-52d8-478a-
b771-:
> $client = $sock->accept() but when I did a
>
> print "got a connection from $client->peerhost\n";
>
> I get:
>
> got a connection from IO::Socket::INET=GLOB(0x1c24284)->peerhost
>
> It is not evaluating to a string, I guess, so how do I do that?
printf "got a connection from %s\n", $client->peerhost;
Sinan
--
A. Sinan Unur <>
(remove .invalid and reverse each component for email address)
comp.lang.perl.misc guidelines on the WWW:
http://www.rehabitation.com/clpmisc/