Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: pod2pdf print blank page

by aitap (Deacon)
on Sep 10, 2012 at 16:15 UTC ( #992790=note: print w/ replies, xml ) Need Help??


in reply to pod2pdf print blank page

This is because text returned by perldoc is no more POD, but is just plain text. For example:

$ head /usr/share/perl/5.14/pod/perldoc.pod =head1 NAME perldoc - Look up Perl documentation in Pod format. =head1 SYNOPSIS B<perldoc> [B<-h>] [B<-D>] [B<-t>] [B<-u>] [B<-m>] [B<-l>] [B<-F>] [B<-i>] [B<-V>] [B<-T>] [B<-r>] [B<-dI<destination_file>>] $ perldoc perldoc | head PERLDOC(1) User Contributed Perl Documentation PE +RLDOC(1) NAME perldoc - Look up Perl documentation in Pod format. SYNOPSIS perldoc [-h] [-D] [-t] [-u] [-m] [-l] [-F] [-i] [-V] [-T] [-r] [-ddestination_file] [-oformatname] [-MFormatterClassName]
Try perldoc -u <whatever> | pod2pdf instead (option -u makes perldoc show just raw Pod source).
Sorry if my advice was wrong.


Comment on Re: pod2pdf print blank page
Select or Download Code
Re^2: pod2pdf print blank page
by AnomalousMonk (Abbot) on Sep 10, 2012 at 17:00 UTC

    I do not have pod2pdf, but I can confirm that the following variant seems to work nicely on my Windoze system:

    perldoc -u -f each | pod2html > junque\each.html
Re^2: pod2pdf print blank page
by EvolbioXYL (Initiate) on Sep 10, 2012 at 19:38 UTC
    Thank you very much, aitap! It worked this time =D

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://992790]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2014-10-01 15:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (29 votes), past polls