diff options
author | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2022-02-07 17:26:13 +0000 |
---|---|---|
committer | Paul Evans <leonerd@leonerd.org.uk> | 2022-02-15 13:31:15 +0000 |
commit | 157bd0a33a7b8191e671b32554eb0018b57f314c (patch) | |
tree | 4c126d63d6f606189d1ea024fae3f027cb17be5d /lib/feature.pm | |
parent | 6d7ebfa7d3430e86b053ac2852870f00c9f068d6 (diff) | |
download | perl-157bd0a33a7b8191e671b32554eb0018b57f314c.tar.gz |
No longer print experimental::isa warning (closes #18754)
Diffstat (limited to 'lib/feature.pm')
-rw-r--r-- | lib/feature.pm | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/feature.pm b/lib/feature.pm index d1091aa65e..12503c6a8b 100644 --- a/lib/feature.pm +++ b/lib/feature.pm @@ -361,17 +361,19 @@ This feature is available from Perl 5.26 onwards. =head2 The 'isa' feature -B<WARNING>: This feature is still experimental and the implementation may -change or be removed in future versions of Perl. For this reason, Perl will -warn when you use the feature, unless you have explicitly disabled the warning: - - no warnings "experimental::isa"; - This allows the use of the C<isa> infix operator, which tests whether the scalar given by the left operand is an object of the class given by the right operand. See L<perlop/Class Instance Operator> for more details. -This feature is available from Perl 5.32 onwards. +This feature is available from Perl 5.32 onwards. From Perl 5.32 to 5.34, +it was classed as experimental, and Perl emitted a warning for its usage, +except when explicitly disabled: + + no warnings "experimental::isa"; + +As of Perl 5.36, use of this feature no longer triggers a warning (though the +C<experimental::isa> warning category stilll exists for compatibility with +code that disables it). =head2 The 'indirect' feature |