Skip Menu |
 

This queue is for tickets about the Perl-MinimumVersion CPAN distribution.

Report information
The Basics
Id: 96163
Status: new
Priority: 0/
Queue: Perl-MinimumVersion

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

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



Subject: 5.14.0 feature: -C<x> in shebang lines
Download (untitled) / with headers
text/plain 402b
I came across this when I released Dist-Zilla-Plugin-Test-Compile - t/13-shebang-dashes.t (which I added in that version) executes perl with a script containing the shebang "#!/usr/bin/perl -CS", which only became legal in 5.014. Here is the regex I am using for extracting shebangs and flags: $line =~ /^#!\s*(?:\S*perl\S*)((?:\s+-\w*)*)(?:\s*#.*)?$/; my @flags = $1 ? split(' ', $1) : ();
Download (untitled) / with headers
text/plain 124b
On 2014-06-02 23:06:47, ETHER wrote: Show quoted text
> I came across this when I released Dist-Zilla-Plugin-Test-Compile
...version 2.041


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.