pipe#

Create an anonymous pipe and return its two fds.

Synopsis#

use POSIX qw(pipe);
my ($rd, $wr) = pipe();

What you get back#

A two-element list ($read_fd, $write_fd) on success. On failure, a single undef is returned and $! is set.

Differences from upstream#

Fully compatible with upstream POSIX.