in reply to How can I log a record with Ctrl-C as EOL from a serial port?

Does the following work?

$/ = "\3";

It works on other file (and tty and pipe) handles.

Update: Forget the select stuff I had in there. It didn't do anything.

Replies are listed 'Best First'.
Re^2: How can I log a record with Ctrl-C as EOL from a serial port?
by jabo (Initiate) on Apr 25, 2005 at 16:12 UTC
    Yes, that works perfectly. Thank you very much.