Help for this page

Select Code to Download


  1. or download this
    while(<$new_sock>) {
        my $input = chomp $_; 
    ...
        $canvas->update_graph( $input  )  # pseudocode to demo point :-)
        $mw->update;   # force the event loop to auto update the window
      }
    
  2. or download this
    my $timer = $mw->repeat(10, \&update_graph);