develooper Front page | perl.perl5.porters | Postings from October 2014

[perl #123057] Bleadperl v5.21.4-409-gef7999f breaks UNIFIEDSW/Finance-BankVal-UK-0.4.tar.gz

Thread Previous | Thread Next
Father Chrysostomos via RT
October 26, 2014 15:13
[perl #123057] Bleadperl v5.21.4-409-gef7999f breaks UNIFIEDSW/Finance-BankVal-UK-0.4.tar.gz
Message ID:
On Sun Oct 26 07:24:32 2014, jkeenan wrote:
> Confirmed.  ef7999f causes a compilation failure in a situation where
> 5.20.1 does not.
> I have translated the code in the CPAN distribution which suffered the
> failure into a patch to t/op/chop.t.  blead will experience a syntax
> error and compilation failure when you try to run that test file.

Thank you for the test case.  You’ve saved me time.  It turns out this is an old bug in the optimisation, which I have ended up extending to more cases:

$ perl5.8.7 -e '(@a = split//,$_)=1' # fine
$ perl5.8.7 -e '(@a = split//,$x)=1'
Can't modify split in list assignment at -e line 1, at EOF
Execution of -e aborted due to compilation errors.

Judging by the source code, it probably goes back to perl 3.0.


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