On 6/9/07, Max Rodkin <[EMAIL PROTECTED]> wrote:
Hi all, i need write script to get string like
$355632000166323,1,1,040202,093633,E12129.2252,N2459.8891,00161,0.0100,147,07*37!
from TCP client.
All is fine if client send ENTER after string, but this string have no CR/LF
at end.
Is it possible, server wait for '!' sign, not '\n'?

If Perl.org wasn't down, you'd want http://perldoc.perl.org/perlvar.html
I guess perldoc perlvar will have to do.

Simply set $/ to "!"

Or read the doc and look for $/

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to