BSD Ports

devel/p5-Pod-Tests 1.20 DragonFly

Extracts embedded tests and code examples from POD

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
17.6 KiB, 57.7 KiB installed

Description

This is a specialized POD viewer to extract embedded tests and code examples from POD. It doesn't do much more than that. pod2test does the useful work.

After creating a Pod::Tests object, you parse the POD by calling one of the available parsing methods documented below. You can call parse as many times as you'd like, all examples and tests found will stack up inside the object.

Once extracted, the tests can be built into stand-alone testing code using the build_tests() and build_examples() methods. However, it is recommended that you first look at the pod2test program before embarking on this.

In the other systems

SystemPortVersion
DragonFlydevel/p5-Pod-Tests1.20
FreeBSDdevel/p5-Pod-Tests1.20
OpenBSDtextproc/p5-Pod-Tests1.20p0
NetBSDtextproc/p5-Pod-Tests1.20nb8
MidnightBSDdevel/p5-Pod-Tests1.20
HardenedBSDdevel/p5-Pod-Tests1.20
GhostBSDdevel/p5-Pod-Tests1.20

Install

Binary package:

pkg install p5-Pod-Tests

From DPorts:

cd /usr/dports/devel/p5-Pod-Tests && make install clean

Dependencies

Run dependencies 1

No port depends on this one.