develooper Front page | perl.perl5.porters | Postings from December 2011

[perl #104288] Unrecognised switches on the #! line aren't reported as such

From:
Father Chrysostomos via RT
Date:
December 30, 2011 20:31
Subject:
[perl #104288] Unrecognised switches on the #! line aren't reported as such
Message ID:
rt-3.6.HEAD-14510-1325305903-619.104288-15-0@perl.org
On Tue Nov 22 06:13:16 2011, nicholas wrote:
> 
> This is a bug report for perl from nick@ccl4.org,
> generated with the help of perlbug 1.39 running under perl 5.15.5.
> 
> 
> -----------------------------------------------------------------
> [Please describe your issue here]
> 
> Unrecognised command line switches are reported as such on the command
> line.
> If found on a #! line, they're reported as "Can't emulate".
> 
> This seems wrong.
> 
> $ echo '#!perl -R' | ~/Sandpit/5000/bin/perl
> Can't emulate -R on #! line at - line 1.
> $ echo '#!perl -R' | ~/Sandpit/5000/bin/perl -R
> Unrecognized switch: -R.
> 
> [still present in blead]

Not any more. :-)

(as of b7e077d)

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=104288



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