OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

p5-Net-Netmask-2.0003

parse, manipulate and lookup IPv4 CIDR blocks

Back to search · Project homepage

Description

Net::Netmask parses and understands IPv4 CIDR blocks. It's built with an object-oriented interface and provides nearly all bits of information about a network block that you might want. There are also functions to put a network block into a table and look it up by IP address, turn an IP address range into a list of CIDR blocks, turn a list of CIDR blocks into a list of IP addresses, and a function for sorting by text IP address.

Package information

Ports path
net/p5-Net-Netmask
Package architecture
*
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
net, perl5
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Test

Used by (3 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON