This pragma provides an easy and convenient way to enable or disable experimental features.
Every version of perl has some number of features present but considered "experimental." For much of the life of Perl 5, this was only a designation found in the documentation. Starting in Perl v5.10.0, and more aggressively in v5.18.0, experimental features were placed behind pragmata used to enable the feature and disable associated warnings.
The 'experimental' pragma exists to combine the required incantations into a single interface stable across releases of perl. For every experimental feature, this should enable the feature and silence warnings for the enclosing lexical scope:
use experimental 'feature-name';
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.031-bp156.1.1 info | GA Release | 2023-09-01 | 15 SP6 |
|
|
0.030-bp155.1.4 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
0.025-bp154.1.18 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.019-bp153.1.14 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
0.019-bp152.3.13 info | GA Release | 2020-04-16 | 15 SP2 |
|
|
0.019-bp151.3.1 info | GA Release | 2019-07-17 | 15 SP1 |
|
|
0.019-bp151.2.12 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
0.019-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|