Help for this page

Select Code to Download


  1. or download this
    #server
    use strict;
    ...
    
    
    print $sock "abcd\n";
    
  2. or download this
    use strict;
    use warnings;
    ...
    if ($sel->can_read()) {
        print "can read\n";
    }