"be consistent" | |
PerlMonks |
[Win32] Weird behavioural change between 5.38.0 and 5.40.0by syphilis (Archbishop) |
on Aug 03, 2024 at 14:07 UTC ( [id://11160849]=perlquestion: print w/replies, xml ) | Need Help?? |
syphilis has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
Strawberry Perl's (portable PDL edition) portableshell.bat contains the following one-liner: The behaviour of that one-liner changes between perl-5.38.0 and perl-5.40.0. (See https://github.com/StrawberryPerl/Perl-Dist-Strawberry/issues/200. Here's a reduced demo of the issue. On perl-5.38.0, on my Windows 11 box, I get: On perl-5.40.0, on the same Windows box, running the same 2 one-liners,I get: Why does that error occur ? If I change the triplets of double-quotes to pairs of double-quotes, the behavioural differences take another turn. With perl-5.38.0: And with perl-5.40.0: Is there some perl bugginess going on here ? ... or am I merely looking at changes in undefined (or implementation defined) behaviour ? I must confess that I don't know what to expect with all of those multiple double quotes. Insights are most welcome. Cheers, Rob
Back to
Seekers of Perl Wisdom
|
|