Help for this page

Select Code to Download


  1. or download this
    $widget->fileevent($fh, 'readable' => sub { ...call-back code... });
    
  2. or download this
    open(S, '+<', '/dev/ttyS0');
    read(S, $buf, 1024, length($buf));
    print S "etc.\n";