Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Perldocs extensions

by 20GT02 (Initiate)
on Jun 13, 2008 at 14:46 UTC ( [id://691914]=perlquestion: print w/replies, xml ) Need Help??

20GT02 has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I am looking for a .txt or plain text version of perldocs. I have tried pdf to .txt converters and have had mixed results. What would be the best way or where could I get this format? Thank you.

Replies are listed 'Best First'.
Re: Perldocs extensions
by ferreira (Chaplain) on Jun 13, 2008 at 14:58 UTC

    What exactly do you have in mind? To convert the POD documentation of the modules installed at your machine into plain text, you just need perldoc. For example, converting the DBI docs into a text format:

    $ perldoc -t DBI > DBI.txt

    You may use pod2text as well, but in this case you have to find the full path of the file.

    $ perldoc -l DBI /usr/local/lib/perl/5.8.8/DBI.pm $ pod2text /usr/local/lib/perl/5.8.8/DBI.pm > DBI.txt

    Converting from PDF or something like that will probably be much poorer than the approach above that generates plain text from POD sources. If you want to convert many perldoc pages, writing a script to do that (as appropriate to your needs) should not be hard.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://691914]
Approved by ferreira
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-26 07:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found