summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2011-06-06 12:39:08 +0100
committerDavid Mitchell <davem@iabyn.com>2011-06-06 12:39:08 +0100
commit5f64ea7a17a09e0b3e4a214f71754b7ad5cd8cbe (patch)
tree1480c5e68404554434ea205d867abdbf56a32faf /pod
parent2341804c04aefb306adfdbe22c23e6cd11f0e48f (diff)
downloadperl-5f64ea7a17a09e0b3e4a214f71754b7ad5cd8cbe.tar.gz
perlfunc: fix error in open("-|") description
both 'to child' and 'from child' were listed as "|-"
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfunc.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 54f5ae2830..e619424e9d 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -3564,7 +3564,7 @@ Use C<defined($pid)> or C<//> to determine whether the open was successful.
For example, use either
- $child_pid = open(FROM_KID, "|-") // die "can't fork: $!";
+ $child_pid = open(FROM_KID, "-|") // die "can't fork: $!";
or
$child_pid = open(TO_KID, "|-") // die "can't fork: $!";