|Perl: the Markov chain saw|
Newline Character and Socket Commsby Ducati (Beadle)
|on May 04, 2001 at 19:00 UTC||Need Help??|
Ducati has asked for the wisdom of the Perl Monks concerning the following question:
I asked this question in the chatterbox and I couldn't get an answer ... so on the advice of a few monks I'll ask it here.
I found ... but lost ... an answer to a question on this site that teaches one how to set up a client/server comm.
This is the code that I grabbed:
Aside from a few mis-placed commas ... which I fixed in the code above ... all worked well.
I extened the code to include:
When I run the script I get this:
When I take out the /n I get: '0123456789****End Of Transmission****'
My Question: Why does the newline stop the data stream and what can I do to fix it??
Thanks in advance ....
"We rock the body to rock the party ... until the party rocks the body"
De La Soul