Help for this page
# OK to use blocking calls, the data will be there # don't read past the "DONE", wait for next file event ... if ($msg !~ /^:MSG:/) {framing error!} do what you need to do... $msg = undef;