develooper Front page | perl.perl5.porters | Postings from June 2015

Re: [perl #124346] Respect perl6 in hashbang

Thread Previous | Thread Next
From:
Ricardo Signes
Date:
June 22, 2015 12:37
Subject:
Re: [perl #124346] Respect perl6 in hashbang
Message ID:
20150622123705.GA14218@cancer.codesimply.com
* Leon Timmermans <perlbug-followup@perl.org> [2015-04-19T09:53:21]
> Currently, when perl tries to run a script and it encounters a hashbang
> line not containing the string "perl" (e.g. /usr/bin/python), it will
> instead run that executable. This works for most other languages, but for
> perl6 this doesn't switch gracefully for obvious reasons.
> 
> The attached patch tries to fix that, so that #!perl6 files will DWIM.

Okay, go for it.


-- 
rjbs

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About