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

[perl #132810] Blead Breaks CPAN: KYZ/Test-MockCommand-0.03.tar.gz

Thread Previous | Thread Next
Father Chrysostomos via RT
February 5, 2018 00:50
[perl #132810] Blead Breaks CPAN: KYZ/Test-MockCommand-0.03.tar.gz
Message ID:
On Sun, 04 Feb 2018 13:14:09 -0800, LeonT wrote:
> This essentially changed the prototype of a keyword. I don't think
> that sort of breaking change should happen without a proper discussion
> about it.

But the previous behaviour would mess up the stack.  And readpipe’s own arguments would be evaluated in one context one time and another context another time.  That’s clearly a bug.

> I don't mind breaking broken code, but I see to reason to break code
> that had been working fine for 20+ years. It seems to me we can fix
> this in less painful ways.

Do you have a better suggestion?  If it is only one module that is affected, I think we should leave the fix in, as there is no logical, consistent way to make a core function that takes exactly one argument put that argument in list context.


Father Chrysostomos

via perlbug:  queue: perl5 status: open

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About