In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/32458de9a4322bd2e66c525d33720a42df7e0b56?hp=3708669706516490ba9699d9d57d92d59fda1006>

- Log -----------------------------------------------------------------
commit 32458de9a4322bd2e66c525d33720a42df7e0b56
Author: Aristotle Pagaltzis <[email protected]>
Date:   Fri Nov 25 02:04:52 2016 +0100

    perlfunc/open: clarify role of mode for undef filename
-----------------------------------------------------------------------

Summary of changes:
 pod/perlfunc.pod | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 18bb465..1e32cca 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -4405,9 +4405,9 @@ argument being L<C<undef>|/undef EXPR>:
 
     open(my $tmp, "+>", undef) or die ...
 
-opens a filehandle to an anonymous temporary file.  Also using C<< +< >>
-works for symmetry, but you really should consider writing something
-to the temporary file first.  You will need to
+opens a filehandle to a newly created empty anonymous temporary file.
+(This happens under any mode, which makes C<< +> >> the only useful and
+sensible mode to use.)  You will need to
 L<C<seek>|/seek FILEHANDLE,POSITION,WHENCE> to do the reading.
 
 Perl is built using PerlIO by default.  Unless you've

--
Perl5 Master Repository

Reply via email to