That's because IO::File is loaded on demand. (One used to have to load it explicitly.) You can change the output to yes-yes by explicitly loading it.
In reply to Re^3: Lexical filehandles: unblessed but (sometimes) can
by ikegami
in thread Lexical filehandles: unblessed but (sometimes) can
by vr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |