diff options
author | Yves Orton <demerphq@gmail.com> | 2023-03-08 15:04:53 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-03-18 21:00:54 +0800 |
commit | b689ed93d1ae924a59738611b98517cbe071b1ab (patch) | |
tree | d27246474fd1a4479760be4852039b80611d3388 /pod | |
parent | 2d8fceed5417cb8fcc169f35f36ea58b7bb9cded (diff) | |
download | perl-b689ed93d1ae924a59738611b98517cbe071b1ab.tar.gz |
warnings.pm - add deprecated::version_downgrade category
This also fixes the version_downgrade to show the correct version that
version downgrades will be removed in.
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldiag.pod | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 4b5c6afb9a..3bf01ce41f 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -2185,12 +2185,12 @@ somehow called on another platform. This should not happen. =item Downgrading a use VERSION declaration to below v5.11 is deprecated -(S deprecated) This warning is emitted on a C<use VERSION> statement that -requests a version below v5.11 (when the effects of C<use strict> would be -disabled), after a previous declaration of one having a larger number (which -would have enabled these effects). Because of a change to the way that -C<use VERSION> interacts with the strictness flags, this is no longer -supported. +(S deprecated::version_downgrade) This warning is emitted on a +C<use VERSION> statement that requests a version below v5.11 (when the +effects of C<use strict> would be disabled), after a previous +declaration of one having a larger number (which would have enabled +these effects). Because of a change to the way that C<use VERSION> +interacts with the strictness flags, this is no longer supported. =item (Do you need to predeclare %s?) |