From 85a9a404a9e1f1d1e14fd9914d8b29db2945003b Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Mon, 21 Sep 2020 15:05:43 -0700 Subject: [PATCH] if =cut starts a POD section give warning, not complaint --- lib/Perl/Tidy/Tokenizer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Perl/Tidy/Tokenizer.pm b/lib/Perl/Tidy/Tokenizer.pm index a55970f7..4f82e315 100644 --- a/lib/Perl/Tidy/Tokenizer.pm +++ b/lib/Perl/Tidy/Tokenizer.pm @@ -917,7 +917,7 @@ sub get_line { } else { $line_of_tokens->{_line_type} = 'POD_START'; - complain( + warning( "=cut starts a pod section .. this can fool pod utilities.\n" ); write_logfile_entry("Entering POD section\n"); -- 2.39.5