next unless (($textline =~ /^(\s*)$/) && (length $paragraph));
## Issue a warning about any non-empty blank lines
- if (length($1) > 1 and ! $self->{_CUTTING}) {
- my $errorsub = $self->errorsub();
- my $file = $self->input_file();
- $file = VMS::Filespec::unixify($file) if $^O eq 'VMS';
- my $errmsg = "*** WARNING: line containing nothing but whitespace".
- " in paragraph at line $nlines in file $file\n";
- (ref $errorsub) and &{$errorsub}($errmsg)
- or (defined $errorsub) and $self->$errorsub($errmsg)
- or warn($errmsg);
- }
+# XXX avoid warning until Brad has a chance to make this optional --GSAR
+# if (length($1) > 1 and ! $self->{_CUTTING}) {
+# my $errorsub = $self->errorsub();
+# my $file = $self->input_file();
+# $file = VMS::Filespec::unixify($file) if $^O eq 'VMS';
+# my $errmsg = "*** WARNING: line containing nothing but whitespace".
+# " in paragraph at line $nlines in file $file\n";
+# (ref $errorsub) and &{$errorsub}($errmsg)
+# or (defined $errorsub) and $self->$errorsub($errmsg)
+# or warn($errmsg);
+# }
## Now process the paragraph
parse_paragraph($self, $paragraph, ($nlines - $plines) + 1);
*** WARNING: unterminated B<...> at line 35 in file pod/poderrs.t
*** WARNING: unterminated I<...> at line 34 in file pod/poderrs.t
*** WARNING: unterminated C<...> at line 37 in file pod/poderrs.t
-*** WARNING: line containing nothing but whitespace in paragraph at line 45 in file pod/poderrs.t
*** ERROR: =item without previous =over at line 52 in file pod/poderrs.t
*** ERROR: =back without previous =over at line 56 in file pod/poderrs.t
*** ERROR: =over on line 60 without closing =back (at head2) at line 64 in file pod/poderrs.t