Utilize modern Perl features by requiring a recent Perl version
Possible versions:
| Release year | Perl | system Perl in OS | features |
|---|---|---|---|
| 2012 | 5.16 | current min version via dist.ini since 493673fd, indirectly since 5052814a
|
|
| 2013 | 5.18 | ||
| 2015 | 5.20 | Debian Jessie (8) | postfix array/hash derefence experimental, subroutine signatures experimental, key/value hash slices |
| 2017 | 5.22 | ||
| 2018 | 5.24 | Debian Stretch (9) | postfix array/hash dereference stable |
| 2018 | 5.26 | Ubuntu 18.04 LTS | indented heredocs with <<~, hash size in scalar context
|
| 2020 | 5.28 | Debian Buster (10) | |
| 2020 | 5.30 | Ubuntu 20.04 LTS | |
| 2021 | 5.32 | Debian Bullseye (11), RHEL 8.6, RHEL 9 | chained comparisons $a < $b < $c, no feature 'indirect'
|
| 2022 | 5.34 | Ubuntu 22.04 LTS | builtin try/catch experimental |
| 2022 | 5.36 | Debian Bookworm (12) | subroutine signatures stable, defer blocks experimental, finally blocks experimental |
| 2023 | 5.38 | experimental feature class (Corinna), //= and ||= in subroutine signatures |
Edited by Daniel Böhmer