Help for this page

Select Code to Download


  1. or download this
    # 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;