This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In IPC::Open3::_open(), switch from 'r' and 'w' to '<' and '>'.
authorNicholas Clark <nick@ccl4.org>
Mon, 6 Jun 2011 17:48:03 +0000 (19:48 +0200)
committerNicholas Clark <nick@ccl4.org>
Sat, 11 Jun 2011 06:48:16 +0000 (08:48 +0200)
commitcae0d2696383fe61e20cd1cd2c994c1d8e4f5512
tree4e52a276e6abeed0bf7b37e4fef646c619c9a9d1
parentf2412f8992265c5e91329c250ba4711946a5e321
In IPC::Open3::_open(), switch from 'r' and 'w' to '<' and '>'.

IO::Handle accepts either, but open only accepts the latter.

In spawn_with_handles(), hoist the C<require Fcntl> into the only block that
needs it - this avoids loading Fcntl on Win32.
ext/IPC-Open3/lib/IPC/Open3.pm