I'm having a issue where pod2usage is missing text, and I have tried to fix it by:
- converting newlines
- rewriting it
- checking it with podchecker
but none of these things help to resolve or hint to my problem
output of podchecker:
YaTC.pod pod syntax OK.
Full pod:
Pod2text output:
snip
Bool: Use special characters
If Nth = 0, this is the left arrow
Data: ISO Language Code:
* Missing data *
<http://www.w3schools.com/tags/ref_language_codes.asp?output=print>
<http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes>
Data: Main size:
* Missing data *
Maximum size limit, where Nth = 0 if X axis
Data: Minimum size:
snip
Info:
My OS is OpenSuSE 11.4 Linux 2.6.37.6-0.7-default i686 i686 i386, GNU/Linux
My editor is SciTE Version 1.77
Also The POD is embedded in Perl code and pod2text is called thru the following code:
if ( !$conf{'Bool_Use_plain_text_for_help'} ) {
my $help = $helpframe->PodText(
-scrollbars => '',
-file => $0,
-wrap => 'word',
-background => 'white',
-width => 150,
-height => 500
)->pack( -side => 'top', -fill => 'both', -expand => 1 );
}
else {
my $help = $helpframe->Text(
-wrap => 'word',
-background => 'white',
-width => 150,
-height => 500
)->pack( -side => 'top', -fill => 'both', -expand => 1 );
$help->insert( 'end', qx{pod2text '$0'} );
}
Pod2text version: unknown ( not in man
, info
, help
or pod2text --help
)
Terminal info:
TERM=xterm
COLORTERM=1
Edit: This bug seems to stem from Tk::Text, I tried pod2html in the console, and it seems ok, but in Tk it is missing text