In perl.git, the branch rgs/nomagicopen has been created <http://perl5.git.perl.org/perl.git/commitdiff/7f5bb3418c4fc2d6e2523bf918a7d9e33f9a7acc?hp=0000000000000000000000000000000000000000>
at 7f5bb3418c4fc2d6e2523bf918a7d9e33f9a7acc (commit) - Log ----------------------------------------------------------------- commit 7f5bb3418c4fc2d6e2523bf918a7d9e33f9a7acc 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. ----------------------------------------------------------------------- -- Perl5 Master Repository