summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorbrian d foy <brian.d.foy@gmail.com>2010-11-04 12:59:50 -0500
committerbrian d foy <brian.d.foy@gmail.com>2010-11-04 12:59:50 -0500
commit5b86764755714d48fb430f823a59de6def7507ff (patch)
treeb104201705e3d4c8f85975e03d5a3af9c674559b /pod
parentffc7a570f934ace596cb7858d1243e5ba4a850df (diff)
downloadperl-5b86764755714d48fb430f823a59de6def7507ff.tar.gz
RT 78814 perlfunc/open(): four items are not a triple
Reported by Niko Tyni Commit b76cc8ba45957 made each group a quadruple without updating the name. Take out the name altogether to avoid this in the future. Also update the reference to "list form" pipes to include both the old last example and the new one. Originally noticed by Reuben Thomas in http://bugs.debian.org/469402
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfunc.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 7311d8be2a..6a498bcfcd 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -3484,7 +3484,7 @@ piped open when you want to exercise more control over just how the
pipe command gets executed, such as when running setuid and
you don't want to have to scan shell commands for metacharacters.
-The following triples are more or less equivalent:
+The following blocks are more or less equivalent:
open(FOO, "|tr '[a-z]' '[A-Z]'");
open(FOO, '|-', "tr '[a-z]' '[A-Z]'");
@@ -3496,7 +3496,7 @@ The following triples are more or less equivalent:
open(FOO, '-|') || exec 'cat', '-n', $file;
open(FOO, '-|', "cat", '-n', $file);
-The last example in each block shows the pipe as "list form", which is
+The last two examples in each block shows the pipe as "list form", which is
not yet supported on all platforms. A good rule of thumb is that if
your platform has true C<fork()> (in other words, if your platform is
Unix) you can use the list form.