BSD Ports

textproc/p5-Pod-Cpandoc 0.16p1 OpenBSD

perldoc that works for modules you don't have installed

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Andrew Fresh <[email protected]>
Categories
textproc, perl5

Description

"cpandoc" is a perl script that acts like "perldoc" except that if it would have bailed out with "No documentation found for "Uninstalled::Module"", it will instead scrape a CPAN index for the module's documentation.

One important feature of "cpandoc" is that it *only* scrapes the live index if you do not have the module installed. So if you use "cpandoc" on a module you already have installed, then it will just read the already-installed documentation. This means that the version of the documentation matches up with the version of the code you have. As a fringe benefit, "cpandoc" will be fast for modules you've installed. :)

Install

Binary package:

pkg_add p5-Pod-Cpandoc

From the ports tree:

cd /usr/ports/textproc/p5-Pod-Cpandoc && make install

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2

No port depends on this one.