open() and pipes
David Cantrell
david at cantrell.org.uk
Thu Aug 3 11:24:12 BST 2006
On Wed, Aug 02, 2006 at 07:17:12PM +0100, Nicholas Clark wrote:
> 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.
Eeeenterestink. Pity that the perlguts scare me so, or I might try to
hack something together.
--
David Cantrell | top google result for "topless karaoke murders"
" In My Egotistical Opinion, most people's ... programs should be
indented six feet downward and covered with dirt. "
--Blair P. Houghton
More information about the london.pm
mailing list