perl5
perl5 copied to clipboard
Simplify `use VERSION behaviour` on 5.37 onwards
(this description was all wrong but in any case I've now reverted it to a draft. We'll wait for 5.39 to apply it properly. I'll write something better by then)
There are two «if (shortver >= SHORTVER(5, 35))»s in there, can't they be merged?
There are two «if (shortver >= SHORTVER(5, 35))»s in there, can't they be merged?
They could, but that might make the logic harder to read. At the moment, there's a clear split between "fiddling with strict bits", followed by "apply warnings".
Actually this doesn't fix any back-compat. It just adds new behaviour. Probably best to save it for .39 after all.
@leonerd, this p.r. now has merge conflicts. Do you want to resolve those -- or would it be better to start fresh with a new p.r.?
Resolved conflicts and repushed; retargeted for 5.39 instead.
@leonerd, this pull request has been in draft status for 12 months and has merge conflicts for 6 months. If you intend to move forward with it, could you resolve conflicts, remove the draft status and re-push? Thanks.