by forgotmypw17 · 1y ago · 0 comments
New language features and things that might alter existing behavior are usually locked behind a version declaration opt-in at the top of your script. You need to do something similar to `use v5.39;` to unlock new behaviors from that version of Perl -- which may contain breaking changes but those are also generally backward compatible too.
But that's for the base language and standard library. Individual third-party packages may vary in their backward compatibility.
Perl 6?
It was so breaking they don't even call it Perl anymore.
We thought that it would take a year or two, not decades.
Also, the intent was to have a Perl 5 compatibility mode.
Perl 5 is still supported, Perl 6 (Raku) continues independently.