Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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
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 having an uproarious good time at the Monastery: (6)
As of 2020-10-22 03:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (225 votes). Check out past polls.

    Notices?