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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/p5-Pod-Tests | 1.20 newest | no data | - | [email protected] | - |
| FreeBSD | devel/p5-Pod-Tests | 1.20 newest | none known | - | [email protected] | - |
| OpenBSD | textproc/p5-Pod-Tests by name | 1.20p0 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| NetBSD | textproc/p5-Pod-Tests by name | 1.20nb8 newest | none known | - | [email protected] | 2026-07-16 |
| DragonFly | devel/p5-Pod-Tests | 1.20 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-Pod-Tests | 1.20 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Pod-Tests | 1.20 newest | no data | - | [email protected] | - |
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
| File | Size | SHA256 |
|---|---|---|
| Pod-Tests-1.20.tar.gz | 31109 | 99b43f83acb2fb9f30e74a52ff5bddedc8d8296a204587d116f438789cc6bc5f |
Master sites 1
- CPAN