Subject: | ToMan output blocks on perlfunc |
3.15_10 (and 3.15.11) cannot process perlfunc.pod from perl-5.14.2.
perlpod stops sending any output to roff:
$ perldoc -D -F /usr/share/perl5/pod/perlfunc.pod
Ending switch processing. Args are [/usr/share/perl5/pod/perlfunc.pod]
with 0 errors.
/usr/bin/perldoc => Pod::Perldoc v3.15_10
Formatter class Pod::Perldoc::ToMan version 3.15_10 successfully loaded!
Will format with the class Pod::Perldoc::ToMan
Searching for /usr/share/perl5/pod/perlfunc.pod
Version 3.15_04 from perl-5.14.2 bundle can handle this POD file.
I found the problem occurs when processing line 2591:
2582 print hex '0xAf'; # prints '175'
2583 print hex 'aF'; # same
2584
2585 Hex strings may only represent integers. Strings that would cause
2586 integer overflow trigger a warning. Leading whitespace is not
stripped,
2587 unlike oct(). To present something as hex, look into L</printf>,
2588 L</sprintf>, and L</unpack>.
2589
2590 =item import LIST
2591 X<import>
If I truncate the POD before the line, this new perlpod works. Output to
different formats (unformated or text) works always.