In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/d9fc04eebe29b8cf5f6f6bf31373b202eafa44d6?hp=37b8cdd1927432f22e389f8405a9f8a198fb0360>

- Log -----------------------------------------------------------------
commit d9fc04eebe29b8cf5f6f6bf31373b202eafa44d6
Author: Leon Timmermans <faw...@gmail.com>
Date:   Sun Apr 19 13:03:28 2015 +0200

    Respect hashbangs containing perl6
-----------------------------------------------------------------------

Summary of changes:
 toke.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/toke.c b/toke.c
index 4962521..71938bd 100644
--- a/toke.c
+++ b/toke.c
@@ -4863,6 +4863,8 @@ 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