# but never do this! $is_io = UNIVERSAL::isa($fd, "IO::Handle"); $sub = UNIVERSAL::can($obj, "print");
?$is_io = $fd->isa('IO::Handle');
In reply to Do not use UNIVERSAL::isa this way; but why? by klekker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |