develooper Front page | perl.perl5.porters | Postings from February 2018

[perl #132902] Blead Breaks CPAN: Class::Std

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
February 28, 2018 05:41
Subject:
[perl #132902] Blead Breaks CPAN: Class::Std
Message ID:
rt-4.0.24-27812-1519796471-881.132902-15-0@perl.org
On Tue, 27 Feb 2018 20:21:24 -0800, bulk88 wrote:
> On Tue, 27 Feb 2018 20:04:14 -0800, bulk88 wrote:
> > Commit 5c8d fails badly on Windows for me.
> 
> There are no quotes in the cmd line to the process
> ------------------------
> Command line:   C:\p525\src\t\perl.exe -e
>          use Carp;
>          sub foom {
>              Carp::confess("Looks lark we got a error: $_[0]")
>          }
>          BEGIN {
>              *{"o::()"} = sub {};
>              *{'o::(""'} = sub {"hay"};
>              $o::OVERLOAD{dummy}++; # perls before 5.18 need this
>              *{"CODE::()"} = sub {};
>              $SIG{__DIE__} = sub { foom (@_, bless([], o), sub {}) }
>          }
>        $a +
> 
> ------------------------------------
> 
> but Carp.t which has identical code (or almost?) does put "s in the
> command line foe -e's arg.

I suspect IPC::Open3 (or something it calls) is adding the quotation marks if the argument has none.

Would it be feasible to feed the program to stdin and drop -e?

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: resolved
https://rt.perl.org/Ticket/Display.html?id=132902

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