I'm looking for is a good on-screen POD reading experience.
For years, I've used perldoc
or man
running in an xterm
to read Perl documentation on screen, and a small custom program built around Pod::LaTeX
to print it. The printed version is good: the script does a nice job. However, on-screen reading is painful:
as
section in DBIx::Class::ResultSet
. Less doesn't know anything about the structure of the document, and searches for common English words are pointless.see section so-and-so
. Great. Now I have to find that. And then getting back to where I was won't be trivial (though that may be my less ignorance showing)!perldoc foo
works, but switching between the two documents is then hard. You can mostly get around this by suspending less and running perldoc
from the shell, but that's more keystrokes and I'm lazy.I want to be able to click a table of contents, and go to that section. I want to be able to click that "see other" and go there. And so on. So far, I know of two possibilities:
DBIx::Class::ResultSet
. Requires an Internet connection, but that's not normally a problem.Podbrowser
. Just started trying this, looks pretty nice.I'm running Debian GNU/Linux, both Lenny and Squeeze. But please suggest programs for all platforms to make this as useful as possible.
You can try Pod::Browser which is built-in http server that you can connect to with your browser, or something like Tk::Pod which is gui pod browser.