http://www.perlmonks.org?node_id=280197


in reply to Re: Re: Re: Re: Re: Perl Idioms Explained - $|++
in thread Perl Idioms Explained - $|++

This will clear that up some:

$ perl -le 'print ref *STDOUT{IO}' IO::Handle

The note in the BUGS section of the IO::Handle pod is explanatory too:

BUGS Due to backwards compatibility, all filehandles resemble object +s of class "IO::Handle", or actually classes derived from that class +. They actually aren't. Which means you can't derive your own class f +rom "IO::Handle" and inherit those methods.

-sauoq
"My two cents aren't worth a dime.";