Bug#987977: Silly shebang "#!./perl -w"

Dominic Hargreaves dom at earth.li
Sat May 8 12:52:20 BST 2021


Control: tags -1 + wontfix

On Mon, May 03, 2021 at 01:07:44PM +1000, Trent W. Buck wrote:
> Package: perl-modules-5.32
> Version: 5.32.1-3
> Severity: wishlist
> File: /usr/share/perl/5.32.1/ExtUtils/Miniperl.pm
> 
> While auditing shebangs for something else, I found this silly one:
> 
>     $ sed -n 1p /usr/share/perl/*/ExtUtils/Miniperl.pm
>     #!./perl -w
> 
> Can you get upstream to either remove it or change it to something sensible?
> 
> It doesn't really *matter*, it just looks so silly I had to say something!

This was introduced relatively recently:
<https://github.com/Perl/perl5/commit/a78951c8adf2702a1136eae4f11657b13ee6697f>

I'm not sure without further investigation whether it has to be exactly
that way (due to the fact it's to be used by miniperl during the build
process) or whether it was added as an editor hint, or some other
reason but either way, I don't think it warrants an upstream bug report.




More information about the Perl-maintainers mailing list