In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/26f55801b38140644601cc08c5842d13d35db407?hp=592bc5caf785af2d4ad1b96eea2abdfe04dfa2ea>

- Log -----------------------------------------------------------------
commit 26f55801b38140644601cc08c5842d13d35db407
Author: Leon Timmermans <[email protected]>
Date:   Sun Jul 17 16:54:19 2016 +0200

    Revert "Respect hashbangs containing perl6"
    
    This reverts commit d9fc04eebe29b8cf5f6f6bf31373b202eafa44d6.
    
    As discussed in
    http://www.nntp.perl.org/group/perl.perl5.porters/2016/05/msg236423.html,
    the current perl6-shebang code has rather sharp edge-cases. Hence a revert
    until we come up with a better solution seems wise.
    
    (cherry picked from commit f691e4455dd520eff11e7f070a9b034b0fa5ca1c)
-----------------------------------------------------------------------

Summary of changes:
 toke.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/toke.c b/toke.c
index cf3163ec20..ee18153e34 100644
--- a/toke.c
+++ b/toke.c
@@ -5396,8 +5396,6 @@ Perl_yylex(pTHX)
                d = instr(s,"perl -");
                if (!d) {
                    d = instr(s,"perl");
-                    if (d && d[4] == '6')
-                        d = NULL;
 #if defined(DOSISH)
                    /* avoid getting into infinite loops when shebang
                     * line contains "Perl" rather than "perl" */

--
Perl5 Master Repository

Reply via email to