In perl.git, the branch rgs/nomagicopen has been created

<http://perl5.git.perl.org/perl.git/commitdiff/042bcb33f679e0157364b6fc58ee8b871ea28a36?hp=0000000000000000000000000000000000000000>

        at  042bcb33f679e0157364b6fc58ee8b871ea28a36 (commit)

- Log -----------------------------------------------------------------
commit 042bcb33f679e0157364b6fc58ee8b871ea28a36
Author: Peter Martini <petercmart...@gmail.com>
Date:   Sun Aug 10 23:11:20 2014 -0400

    Added some documentation for while(<<>>)

M       pod/perlop.pod

commit d5c1d5c47aaa9e7531803cf22da37a856de65376
Author: Rafael Garcia-Suarez <r...@consttype.org>
Date:   Thu Jul 24 17:43:29 2014 +0200

    Introduce the double-diamond operator <<>>
    
    This operator works like <> or <ARGV>, as it reads the list of file
    names to open from the command-line arguments. However, it disables
    the magic-open feature (that forks to execute piped commands) :
    
        $ bleadperl -e 'while(<>){print}' 'echo foo |'
        foo
        $ bleadperl -e 'while(<<>>){print}' 'echo foo |'
        Can't open echo foo |: No such file or directory at -e line 1.

M       doio.c
M       embed.fnc
M       embed.h
M       op.c
M       pp_hot.c
M       pp_sys.c
M       proto.h
M       toke.c
-----------------------------------------------------------------------

--
Perl5 Master Repository

Reply via email to