in reply to Nonblocking IO Module

can is a method of UNIVERSAL, which means it can be called on any object. (All objects implicitly inherit from UNIVERSAL, even if they don't have any @ISA whatsoever.) It checks to see if there is an accept() method that could be called on $listen.


Confession: It does an Immortal Body good.