Help for this page

Select Code to Download


  1. or download this
    use IO::Select qw( );
    use IO::Handle qw( );
    ...
            sleep(3);
        }
    }
    
  2. or download this
    It took 0 seconds to get the msg
    It took 3 seconds to get the msg
    ...
    It took 3 seconds to get the msg
    It took 0 seconds to get the msg
    ...
    
  3. or download this
        my $sel = IO::Select->new($rfh);
        my $buf = '';
    ...
                print("It took ", (time()-$got), " seconds to get the msg\
    +n");
            }
        }
    
  4. or download this
    It took 0 seconds to get the msg
    It took 0 seconds to get the msg
    ...
    It took 0 seconds to get the msg
    It took 0 seconds to get the msg
    ...