Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Perldocs extensions

by ferreira (Chaplain)
on Jun 13, 2008 at 14:58 UTC ( #691916=note: print w/replies, xml ) Need Help??


in reply to Perldocs extensions

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: note [id://691916]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2023-01-31 13:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?