Bingo! Thanks Paul, you are correct. $_ is not getting loaded in the while
statement.
>someone please poke me if I'm dreaming, but if you say
>
> while(<$new_sock>) { print $_; }
>
>the while(<>){} structure automatically loads $_ with whatever came out
>of the <> ... IF and ONLY IF the diamond op
A little clarification of the problem. The line "test" does not get printed
at the server.
Dave Sorrells
ciber
Office: (585) 231-2071
Cell: (585) 755-9015
Email: [EMAIL PROTECTED]
Text Messaging: [EMAIL PROTECTED]
AIM: Dave Ciber
-Original Message-----
From: Sorr
Hey all,
I'm trying to learn a bit about Perl sockets. I got these simple
client/server scripts from http://www.perlfect.com/articles/sockets.shtml
and I can't even get them to work. When I run the client against the server
I get no output at the server. The "Socket defined" line does get printed s