Bug#521256: Bug report, perl-doc warnings when perldoc perlre is run

Niko Tyni ntyni at debian.org
Sun Mar 29 19:31:17 UTC 2009


On Thu, Mar 26, 2009 at 09:13:06AM +0000, Justin Catterall wrote:
 
> Package: perl-doc
> Version: 5.10.0-19
> Severity: minor
 
> When running `perldoc perlre` in a terminal warnings are reported,  
> here is a transcript:
> 
> $ perldoc perlre
> <standard input>:345: a space character is not allowed in an escape name
> <standard input>:380: a space character is not allowed in an escape name
> <standard input>:380: a space character is not allowed in an escape name

These warnings come from groff; the pod input corresponding to the first
warning is

  X<\t> X<\n> X<\r> X<\f> X<\e> X<\a> X<\l> X<\u> X<\L> X<\U> X<\E> X<\Q>
  X<\0> X<\c> X<\N> X<\x>

which results in 

.IX Xref "\t \n \r \f \e \a \l \u \L \U \E \Q \0 \c \N \x"

A small testcase is

 printf '=head1 foo\n\nX<\\n> X<\\r>'|pod2man |groff -man >/dev/null

Russ, would you like a CPAN ticket about this? It still happens
with podlators 2.2.2.
-- 
Niko Tyni   ntyni at debian.org






More information about the Perl-maintainers mailing list