projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2341804
)
perlfunc: fix error in open("-|") description
author
David Mitchell
<davem@iabyn.com>
Mon, 6 Jun 2011 11:39:08 +0000
(12:39 +0100)
committer
David Mitchell
<davem@iabyn.com>
Mon, 6 Jun 2011 11:39:08 +0000
(12:39 +0100)
both 'to child' and 'from child' were listed as "|-"
pod/perlfunc.pod
patch
|
blob
|
history
diff --git
a/pod/perlfunc.pod
b/pod/perlfunc.pod
index
54f5ae2
..
e619424
100644
(file)
--- 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: $!";