In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/fe43a9cc030d741126b22f2730889e69452f8988?hp=7a928d916facc702267dd7b5a9cf36135ae25009>

- Log -----------------------------------------------------------------
commit fe43a9cc030d741126b22f2730889e69452f8988
Author: Tony Cook <[email protected]>
Date:   Tue May 17 11:47:07 2016 +1000

    (perl #127780) point backtick users at the open pragma
-----------------------------------------------------------------------

Summary of changes:
 pod/perlop.pod | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/pod/perlop.pod b/pod/perlop.pod
index 9b1319a..6bca9f7 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -2316,6 +2316,12 @@ failure modes by inspecting C<$?> like this:
         printf "child exited with value %d\n", $? >> 8;
     }
 
+Use the L<open> pragma to control the I/O layers used when reading the
+output of the command, for example:
+
+  use open IN => ":encoding(UTF-8)";
+  my $x = `cmd-producing-utf-8`;
+
 See L</"I/O Operators"> for more discussion.
 
 =item C<qw/I<STRING>/>

--
Perl5 Master Repository

Reply via email to