Re: IO::Socket - i can't get it to read the data

2004-10-17 Thread Peter Scott
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jeff 'japhy' Pinyan) writes: >The problem is that your data ends in \r\n, and the \r is a carriage >return. If you print "jeff\rABC", you'd *see* "ABCf", because the \r >causes the cursor to go to the beginning of the line, thus overwriting >prev

Re: IO::Socket - i can't get it to read the data

2004-10-15 Thread Jeff 'japhy' Pinyan
On Oct 15, Etienne Ledoux said: >Would anybody have any idea why chomp is deleting the value ? > >No matter how I try and do it. I even tried s/\n//,$value . afterwards I have >a empty value. I don't understand what I'm doing wrong here and everywhere i >check this it seems to be the right way to

Re: IO::Socket - i can't get it to read the data

2004-10-15 Thread Etienne Ledoux
Would anybody have any idea why chomp is deleting the value ? No matter how I try and do it. I even tried s/\n//,$value . afterwards I have a empty value. I don't understand what I'm doing wrong here and everywhere i check this it seems to be the right way to do it. ?!?! e. On Friday 15 O

Re: IO::Socket - i can't get it to read the data

2004-10-15 Thread Etienne Ledoux
ok it seems like the chomp it stuffin it up ? if i removed it i get the correct data but with a \n On Friday 15 October 2004 11:56, Etienne Ledoux wrote: > greetings, > > This program listens on a port for an incoming connection. Once someone > connected it asks for a name and a password. but fo