Front page | perl.perl5.porters |
Postings from November 2010
[perl #78814] [PATCH] perlfunc/open(): four items are not a triple
Thread Next
From:
Niko Tyni
Date:
November 4, 2010 10:15
Subject:
[perl #78814] [PATCH] perlfunc/open(): four items are not a triple
Message ID:
rt-3.6.HEAD-4263-1288888075-380.78814-75-0@perl.org
# New Ticket Created by Niko Tyni
# Please include the string: [perl #78814]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=78814 >
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
---
pod/perlfunc.pod | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 7311d8b..ed9f49b 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 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 show 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.
--
1.7.2.3
Thread Next
-
[perl #78814] [PATCH] perlfunc/open(): four items are not a triple
by Niko Tyni