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