develooper Front page | perl.perl5.changes | Postings from January 2019

[perl.git] branch blead updated. v5.29.6-99-ge0e44100e1

From:
Tony Cook
Date:
January 16, 2019 04:54
Subject:
[perl.git] branch blead updated. v5.29.6-99-ge0e44100e1
Message ID:
E1gjdDW-0002uy-Sq@git.dc.perl.space
In perl.git, the branch blead has been updated

<https://perl5.git.perl.org/perl.git/commitdiff/e0e44100e103ed63a7a28505be51600c48629c0f?hp=22f2eee2167eefd5725143922cfa04b7a1f0a052>

- Log -----------------------------------------------------------------
commit e0e44100e103ed63a7a28505be51600c48629c0f
Author: Tony Cook <tony@develop-help.com>
Date:   Tue Jan 15 10:59:36 2019 +1100

    (perl #133755) link back to readpipe from the qx// docs

-----------------------------------------------------------------------

Summary of changes:
 pod/perlop.pod | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pod/perlop.pod b/pod/perlop.pod
index d6adbd11f2..d05155d88f 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -2366,6 +2366,8 @@ output of the command, for example:
   use open IN => ":encoding(UTF-8)";
   my $x = `cmd-producing-utf-8`;
 
+C<qx//> can also be called like a function with L<perlfunc/readpipe>.
+
 See L</"I/O Operators"> for more discussion.
 
 =item C<qw/I<STRING>/>
@@ -3096,7 +3098,8 @@ Unlike in B<csh>, no translation is done on the return data--newlines
 remain newlines.  Unlike in any of the shells, single quotes do not
 hide variable names in the command from interpretation.  To pass a
 literal dollar-sign through to the shell you need to hide it with a
-backslash.  The generalized form of backticks is C<qx//>.  (Because
+backslash.  The generalized form of backticks is C<qx//>, or you can
+call the L<perlfunc/readpipe> function.  (Because
 backticks always undergo shell expansion as well, see L<perlsec> for
 security concerns.)
 X<qx> X<`> X<``> X<backtick> X<glob>

-- 
Perl5 Master Repository



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About