In IPC::Open3::_open(), refactor the common code into loops over @handles.
authorNicholas Clark <nick@ccl4.org>
Mon, 6 Jun 2011 18:45:13 +0000 (20:45 +0200)
committerNicholas Clark <nick@ccl4.org>
Sat, 11 Jun 2011 06:48:16 +0000 (08:48 +0200)
commit0c12e47ae20ac31659a9f4daa9df439caca65d08
tree642929be6b0817e1a5f04acb4ef68673a95a6b51
parentcae0d2696383fe61e20cd1cd2c994c1d8e4f5512
In IPC::Open3::_open(), refactor the common code into loops over @handles.

As fh_is_fd() is now used in only one location, inline it. (This function isn't
exported, isn't documented, and isn't (ab)used by anything on CPAN.)
ext/IPC-Open3/lib/IPC/Open3.pm