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.
In reply to Re: Nonblocking IO Module
by theorbtwo
in thread Nonblocking IO Module
by perlknight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |