+ support => '2027-06',
+ },
+
+ v5.26 => {
+ new => [
+ ['<code><<~EOT</code>', 'indented here-docs, strips same whitespace before delimiter in each line'],
+ ['<code>@{^CAPTURE}</code>', q"array of last match's captures, so <code>${^CAPTURE}[0]</code> is <code>$1</code>"],
+ ['<code>//xx</code>', 'extended modifier to also ignore whitespace in bracketed character classes'],
+ ],
+ modules => [
+ ['Test2::V0' => 'generic testing framework to replace <code>Test::*</code> and <code>TAP::*</code>'],
+ ],
+ unicode => '9.0', # also Script_Extensions/scx in "\p{script}"
+ release => '2017-05-30',
+ distro => {
+ ubuntu => '17.10', # artful 2017-10; 18.04 LTS 2018-04 eol 2023-04
+ opensuse => '15.0', # 2018-05 eol 2019-11; same in 15.4 2022-06
+ centos => '8', # 2019-09 eol 2021-12 TuxCare els 2026-01
+ },
+ distrosum => "stable servers such as Ubuntu 17.10+ (Debian >9), CentOS 8, openSUSE 15.0",
+ support => '2023-04',
+ },
+
+ v5.28 => {
+ new => [
+ ['<code>delete %hash{…}</code>', 'hash slices can be deleted with key+value pairs'],
+ ['<code>/(*…)/</code>', 'alphabetic synonyms for assertions, e.g. <code>(*atomic:…)</code> for <code>(?>…)</code> and <code>(*nlb:…)</code> for <code>(?<!…)</code>', {experimental => 'alpha_assertions', stable => v5.31.6}],
+ ['<code>/(*script_run:)/</code>', 'enforces all characters to be from the same script', {experimental => 'script_run', stable => v5.31.6}],
+ ['<code>state @a</code>', 'persistent lexical array or hash variables (in addition to <a href="#state">scalars</a>)', {name => 'state_ext'}],
+ ['perl<code> -i -pe die</code>', 'safe in-place editing: files are replaced only after successful completion'],
+ ['<code>${^SAFE_LOCALES}</code>', 'locales are thread-safe on supported systems, indicated by this variable'],
+ ],
+ unicode => '10.0',
+ release => '2018-06-22',
+ distro => {
+ debian => '10', # buster 2019-07
+ ubuntu => '19.04', # disco 2019-04 eol 2020-01
+ freebsd => '11', # eol 2021-09
+ macos => '11', # big sur 2020-11
+ },
+ distrosum => "stable systems such as Debian 10, Ubuntu 19.04, FreeBSD 11",
+ },
+
+ v5.30 => {
+ new => [
+ ['<code>/(?<=var+)</code>', 'variable length lookbehind assertions', {experimental => 'vlb', stable => v5.36}],
+ ['<code>m(\p{nv=/.*/})</code>', 'match unicode properties by regular expressions', {experimental => 'uniprop_wildcards'}],
+ ['<code><s>my $state if 0</s></code>', 'workaround for <code><a href="#state">state</a></code> (deprecated since v5.10!) is now prohibited'],
+ [q"<code>qr'\N'</code>", 'Delimiters must be graphemes; unescaped <code>{</code> illegal; <code>\N</code> in single quotes'],
+ ['<code><s>use Locale::Codes</s></code>', 'removed from core, get actual lists from CPAN', {dropped => v5.30}],
+ ],
+ unicode => '12.1',
+ release => '2019-05-22',
+ distro => {
+ ubuntu => '20.04', # focal LTS 2020-04 eol 2025-04
+ macos => '11.3', # big sur 2021-04 and monterrey 2021-10, alongside compatibility v5.18
+ },
+ },
+
+ v5.32 => {
+ new => [
+ ['<code>isa</code>', 'infix operator to check class instance', {feature => 'isa', experimental => 'isa', stable => v5.36}],
+ ['<code>$min < $_ <= $max</code>', 'chained comparison repeats inner part as <code>$min < $_ and $_ <= $max</code>'],
+ ['<code>/\p{Name=$var}/</code>', 'match Unicode Name property like <code>\N{}</code> but with interpolation and subpatterns'],
+ [q"<code>open F, '+>>', undef</code>", 'respect append mode on temporary files with mixed access'],
+ ["<code>no feature 'indirect'</code>", 'disable indirect object notation such as <code>new Class</code> instead of <code>Class->new</code>'],
+ ['streamzip', 'program distributed with core IO::Compress::Base to compress stdin into a zip container'],
+ ],
+ unicode => '13.0',
+ release => '2020-06-20',
+ details => 'https://www.effectiveperlprogramming.com/2020/01/perl-v5-32-new-features/',
+ distro => {
+ debian => '11', # bullseye 2021-08
+ ubuntu => '21.04', # hirsute 2021-04 eol 2022-01
+ rhel => '8', # -8.7 and -9.1 2022-11
+ solaris => '11.4', # 2018-08 eol 2034-11 (SRU 38 removes 5.22, 5.26)
+ },
+ distrosum => "stable systems such as Debian 11, Ubuntu 21.04, RHEL 8, Solaris 11.4, AIX 7.3",
+ support => '2034-11', # solaris
+ },
+
+ v5.34 => {
+ new => [
+ ['<code>try {} catch</code>', 'exception handling similar to eval blocks', {feature => 'try', experimental => 'try'}],
+ ['<code>/{,<i>n</i>}/</code>', 'empty lower bound quantifier is accepted as shorthand for 0'],
+ ['<code>\x{ … }</code>', 'insignificant space within curly braces, also for <code>\b{}</code>, <code>\g{}</code>, <code>\k{}</code>, <code>\N{}</code>, <code>\o{}</code> as well as <code>/{m,n}/</code> quantifiers'],
+ ['<code>0o0</code>', 'octal prefix <code>0o</code> alternative to <code>0…</code> and <code>oct</code>'],
+ ['<code>re::optimization(qr//)</code>', 'debug regular expression optimization information discovered at compile time'],
+ ['<code>no feature …</code>', 'disable discouraged practices of <code>bareword_filehandles</code> and <code>multidimensional</code> array emulation'],
+ ],
+ release => '2021-05-20',
+ distro => {
+ ubuntu => '22.04', # jammy LTS 2022-04 eol 2027-04
+ aix => '7.3', # 2021-12 eol 2035?
+ },
+ },
+
+ v5.36 => {
+ new => [
+ ['<code>use v5.36</code>', "use <code>warnings</code>; use feature qw'<code>signatures isa</code>'; no feature qw'<code>indirect multidimensional switch</code>'"],
+ ['<code>use builtin</code>', 'namespace for interpreter functions, such as <code>weaken</code> and <code>blessed</code> from <code>Scalar::Util</code>, <code>ceil</code>/<code>floor</code> from <code>POSIX</code>, and <code>trim</code> like <code>String::Util</code>', {experimental => 'builtin'}],
+ ['<code>is_bool(!0)</code>', 'distinguish scalar variable types (by <code>builtin</code> functions) for data interoperability', {name => 'is_bool'}],
+ ['<code>for my ($k, $v) (%hash)</code>', 'iterate over multiple values at a time (including <code>builtin::indexed</code> for arrays)', {experimental => 'for_list', feature => 'for_list'}],
+ ['<code>defer {}</code>', 'queue code to be executed when going out of scope', {feature => 'defer', experimental => 'defer'}],
+ ['<code>try {} finally {}</code>', 'run code at the end of a <code><a href="#try">try</a></code> construct regardless of failure', {name => 'finally', feature => 'try', experimental => 'try'}],
+ ['<code>q«…»</code>', 'unicode delimiters for quoting operators', {experimental => 'extra_paired_delimiters'}],
+ ['<code>sub ($var) {!<s>pop</s>}</code>', '<a href="#signatures">signature</a>d subs are stable, but mixing with the arguments array <code>@_</code> remains experimental', {feature => 'signatures', experimental => 'args_array_with_signatures'}],
+ ['<code>$SIG{FPE}</code>', 'floating-point exceptions no longer deferred but delivered immediately like other signals', {name => 'sig_fpe'}],
+ ['perl<code> -g</code>', 'disable input record separator (slurp mode), alias for <code>-0777</code>'],
+ ],
+ unicode => '14.0',
+ release => '2022-05-28',
+ distro => {
+ debian => '12', # bookworm 2023-06
+ ubuntu => '23.04', # lunar upcoming
+ },
+ },
+
+ v5.38 => {
+ new => [
+ ['<code>use feature "module_true"</code>', 'default in use 5.37 and up, also <code>no feature "bareword_filehandles"</code>'],
+ ['<code>sub ($var ||=</code> default<code>)</code>', 'assign values when false (or undefined on <code>//=</code>) instead of omitted'],
+ ['<code>/(*{ … })/</code>', 'optimistic eval: <code>(?{ … })</code> with regex optimisations enabled'],
+ ['<code>class</code>', "define object classes: packages with <code>field</code> variables and <code>method</code> subroutines", {feature => 'class', experimental => 'class'}],
+ ['<code>${^LAST_<wbr>SUCCESSFUL_<wbr>PATTERN}</code>', 'explicit variable to access the previous match as in <code>s//…/</code>'],
+ ['<code>%{^HOOK}</code>', "perform tasks <code>require__before</code> and <code>require__after</code> when calling <code>require</code>"], # also @INC hook enhancements
+ ['<code>PERL_RAND_<wbr>SEED</code>', 'environment variable to set <code>srand</code> random number seed', {dropped => 0}],
+ ['<code>is_tainted</code>', '<code>builtin</code> function to check variable tainting like <code>Scalar::Util::tainted</code>', {dropped => 0, experimental => 'builtin', eg => 'builtin::is_tainted($ENV{PWD}) and say "running perl -T"'}],
+ ['<code>export_lexically</code>', '<code>builtin</code> function to export named functions into the calling scope', {dropped => 0, experimental => 'builtin', eg => 'method import {builtin::export_lexically {map {$_ => $self->can($_)} @_}}'}],
+ ],
+ unicode => '15.0',
+ release => '2023-07-02',