From 5624cfff8f02788563881f4892a4681a2dd7c308 Mon Sep 17 00:00:00 2001 From: Pete Houston Date: Mon, 15 Nov 2021 14:56:41 +0000 Subject: 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 --- AUTHORS | 1 + lib/warnings.pm | 4 ++-- regen/warnings.pl | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/AUTHORS b/AUTHORS index 995f97fac0..16c22b9239 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1016,6 +1016,7 @@ Pedro Felipe Horrillo Guerra Per Einar Ellefsen Perlover Petar-Kaleychev <87611976+Petar-Kaleychev@users.noreply.github.com> +Pete Houston Pete Peterson Peter Avalos Peter BARABAS 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 '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 diff --git a/regen/warnings.pl b/regen/warnings.pl index da340fa271..201af9e71c 100644 --- a/regen/warnings.pl +++ b/regen/warnings.pl @@ -16,7 +16,7 @@ # # This script is normally invoked from regen.pl. -$VERSION = '1.55'; +$VERSION = '1.56'; BEGIN { require './regen/regen_lib.pl'; @@ -1289,7 +1289,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 '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 -- cgit v1.2.1