open() and pipes

Nicholas Clark nick at
Wed Aug 2 19:17:12 BST 2006

On Wed, Aug 02, 2006 at 05:06:32PM +0100, Peter Corlett wrote:

> It doesn't need to be two handles. It just needs Perl's idea of a  
> handle to be upgraded to hold up to two file descriptors. Reads go to  
> one, writes go to another, and any ambiguous operation throws an  
> exception.

It's actually already two internally. (Without the exception throwing bit)
I think that everything goes to the read handle except writes, but I could
be wrong.

Nicholas Clark

More information about the mailing list