Re: Fwd: [rt.cpan.org #74389] Pod::Simple::Pullparser get_title should ignore X<...>

[email protected] (Ricardo Signes)
Newsgroups perl.pod-people
Message-ID <[email protected]>
* Marek Rouchal <[email protected]> [2012-01-29T03:05:50]
> I agree... the content of X<...> is not visible text, so for
> 
> =head1 NAME
> X<some text>
> 
> Pod::Simple should return "NAME" for the heading text, not
> "NAME some text"

And "NAME" and not "NAME "

It should probably not just become an empty string, but it should be collapse
whitespace around it, so pathological cases like:

=head1 NAME X<foo> THIS X<bar> TUNE
X<baz>

...should be "NAME THIS TUNE"

But in the simpler case, I think that "NAME" and not "NAME " is actually likely
to come up.

-- 
rjbs
signature.asc (application/pgp-signature, 490 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJPJVe9AAoJEOYby6cMccU5qUsH/RMEZHc9wfQzyH9xTHUTq6bn
Gr7xWCbNU05HODyFyeNTrQy98lNwmL0OoB2nCIB5f/8eERtJd7b3kKFM4tUDgSPA
ncnfeKgnYSsi9Y969SemrNzM4s9Ebmj9X4nwmE0L4ttNaYrs/ChTpfDglEiBXkw8
2/TEylpGol2EGk5w9L6jtDA9w9VYR3QcIzXaqCUN2tfE5cbOmuAopLgoNkEbbEwH
Yb4tTDPYGZDdURAZ9MyzWaZfnRN+wUabFppjNHwijFZcS4MZ5wikipFR9oDb8qM3
B6Pfzp60gVNEk6MCjPe08Y/VbpQRqP/SQ2rYCYl0NMHjhP3il4mSBeSExvv7h14=
=Ukdh
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.