Skip Menu |

This queue is for tickets about the Acme-Bleach CPAN distribution.

Report information
The Basics
Id: 52396
Status: open
Priority: 0/
Queue: Acme-Bleach

People
Owner: Nobody in particular
Requestors: stro [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.12
Fixed in: (no value)



Subject: Preserving shebang line
Hello Damian, It would be desirable to preserve shebang line (#!/path/to/perl -opt) from the original Perl script. Now Acme::* remove this line, so resulting script cannot be run on Unix-like systems (or by Apache) without manual modification. -- Serguei Trouchelle
Subject: Re: [rt.cpan.org #52396] Preserving shebang line
Date: Fri, 4 Dec 2009 07:05:07 +1100
To: bug-Acme-Bleach [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Hi Serguei, Show quoted text
> It would be desirable to preserve shebang line (#!/path/to/perl -opt) > from the original Perl script. Now Acme::* remove this line, so > resulting script cannot be run on Unix-like systems (or by Apache) > without manual modification.
The shebang was deliberately NOT preserved, so that people would not mistake this joke module for a serious source-protection mechanism and start deploying it. I do understand that it limits the joke in such environments, but I feel it's more important not to encourage the dangerous illusion of security-via-obscurity. All the best, Damian