]> git.donarmstrong.com Git - perltidy.git/commitdiff
if =cut starts a POD section give warning, not complaint
authorSteve Hancock <perltidy@users.sourceforge.net>
Mon, 21 Sep 2020 22:05:43 +0000 (15:05 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Mon, 21 Sep 2020 22:05:43 +0000 (15:05 -0700)
lib/Perl/Tidy/Tokenizer.pm

index a55970f75831c9b7c0c08828041c3a3d6b8dfc9d..4f82e3156f3ac5a008e6c567351c04dafaa56825 100644 (file)
@@ -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");