P is for Practical | |
PerlMonks |
Re: Constants lists in array slicesby LanX (Saint) |
on Jul 20, 2018 at 12:25 UTC ( [id://1218894]=note: print w/replies, xml ) | Need Help?? |
answering my own question: Testing with 5.24 shows constant folding of lists to work:
seems like constant folding of lists was only added "some years" ago. ;-)
updatefor comparison 5.18
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|