In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/83cad6954f449afbbab19c7edd8045745aae6345?hp=83c3106baf778ae52314eadd19ac8a04e9ac12ce>
- Log ----------------------------------------------------------------- commit 83cad6954f449afbbab19c7edd8045745aae6345 Author: Dave Cross <[email protected]> Date: Wed Mar 1 20:34:53 2017 -0500 Ensure that documentation works under 'use strict'. In response to discussion at http://stackoverflow.com/questions/42486716/perl-inline-selection-of-fd-as-in-docs-does-not-work-with-strict-refs/42486952#42486952 Add additional email address for author. ----------------------------------------------------------------------- Summary of changes: Porting/checkAUTHORS.pl | 1 + pod/perlfunc.pod | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Porting/checkAUTHORS.pl b/Porting/checkAUTHORS.pl index cb8863c79a..9ee55f7724 100755 --- a/Porting/checkAUTHORS.pl +++ b/Porting/checkAUTHORS.pl @@ -593,6 +593,7 @@ damian\100conway.org damian\100cs.monash.edu.au dan\100sidhe.org sugalsd\100lbcc.cc.or.us + sugalskd\100osshe.edu daniel\100bitpusher.com daniel\100biz.bitpusher.com +dave\100mag-sol.com dave\100dave.org.uk david.dyck\100fluke.com dcd\100tc.fluke.com david\100justatheory.com david\100wheeler.net + david\100kineticode.com diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index d8e1b58fa6..3854acf6e6 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -5765,7 +5765,7 @@ returning the filehandle value instead, in which case the LIST may not be omitted: print { $files[$i] } "stuff\n"; - print { $OK ? STDOUT : STDERR } "stuff\n"; + print { $OK ? *STDOUT : *STDERR } "stuff\n"; Printing to a closed pipe or socket will generate a SIGPIPE signal. See L<perlipc> for more on signal handling. -- Perl5 Master Repository
