In perl.git, the branch smoke-me/jkeenan/cowens/131651-P-N-switches has been created
<http://perl5.git.perl.org/perl.git/commitdiff/d5a912b82ae72ef7c95c8aae215bd848956b3332?hp=0000000000000000000000000000000000000000> at d5a912b82ae72ef7c95c8aae215bd848956b3332 (commit) - Log ----------------------------------------------------------------- commit d5a912b82ae72ef7c95c8aae215bd848956b3332 Author: Chas. Owens <[email protected]> Date: Sat Jun 24 22:52:42 2017 -0400 adds -P & -N switches that use <<>> instead of <> The -n and -p switches use the two argument version of open. This can lead to a security issue if a file is named starting with > or |. The <<>> operator fixes the security issue, but isn't easily available to commandline perl. This patch adds -N and -P flags that work like -n and -p, but use <<>> instead of <>. ----------------------------------------------------------------------- -- Perl5 Master Repository
