BSD Ports

devel/p5-Pod-Tests 1.20 MidnightBSD

Extracts embedded tests and code examples from POD

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
devel, perl5

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

The newest version among them is 1.20, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/p5-Pod-Tests1.20 newestno data-[email protected]-
FreeBSDdevel/p5-Pod-Tests1.20 newestnone known-[email protected]-
OpenBSDtextproc/p5-Pod-Tests by name1.20p0 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDtextproc/p5-Pod-Tests by name1.20nb8 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-Pod-Tests1.20 newestnone known-[email protected]-
HardenedBSDdevel/p5-Pod-Tests1.20 newestno data-[email protected]-
GhostBSDdevel/p5-Pod-Tests1.20 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-Pod-Tests

From mports:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Pod-Tests>0:devel/p5-Pod-Tests

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 4
  • bin/pod2test
  • %%SITE_PERL%%/Pod/Tests.pm
  • %%PERL5_MAN1%%/pod2test.1.gz
  • %%PERL5_MAN3%%/Pod::Tests.3.gz
distinfo 1
FileSizeSHA256
Pod-Tests-1.20.tar.gz3110999b43f83acb2fb9f30e74a52ff5bddedc8d8296a204587d116f438789cc6bc5f
Master sites 1
  • CPAN