http://qs1969.pair.com?node_id=24919


in reply to learn sth.

I think the 'opened' routine is inherited from the IO::Handle. Here is what it says:
$io->opened Returns true if the object is currently a valid file descriptor.