summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPete Houston <githubdevteam@openstrike.co.uk>2021-11-15 14:56:41 +0000
committerJames E Keenan <jkeenan@cpan.org>2021-11-18 12:30:12 +0000
commit5624cfff8f02788563881f4892a4681a2dd7c308 (patch)
tree3a68e7ac774c4b75e035ab04ed656d7215440690 /lib
parenta0f0c1762ef2dabc114852f774a3e4c27037f499 (diff)
downloadperl-5624cfff8f02788563881f4892a4681a2dd7c308.tar.gz
POD breakage in lib/warnings.pm
An unescaped right angle bracket was resulting in a malformed code snippet in warnings.pm This tiny PR escapes that character and thus fixes the rendering. regen/warnings.pl corrected and regenerated; version bumped. Pete Houston is now a Perl Author. For: https://github.com/Perl/perl5/pull/19228
Diffstat (limited to 'lib')
-rw-r--r--lib/warnings.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/warnings.pm b/lib/warnings.pm
index 07b607524d..414fa803b1 100644
--- a/lib/warnings.pm
+++ b/lib/warnings.pm
@@ -5,7 +5,7 @@
package warnings;
-our $VERSION = "1.55";
+our $VERSION = "1.56";
# Verify that we're called correctly so that warnings will work.
# Can't use Carp, since Carp uses us!
@@ -1141,7 +1141,7 @@ use:
use warnings 'FATAL'; # short form of "use warnings FATAL => 'all';"
However, you should still heed the guidance earlier in this section against
-using C<use warnings FATAL => 'all';>.
+using C<< use warnings FATAL => 'all'; >>.
If you want your program to be compatible with versions of Perl before
5.20, you must use C<< use warnings FATAL => 'all'; >> instead. (In