net-mgmt/p5-Net-IPAddress 1.10_1 DragonFly
Perl functions used to manipulate IP addresses, masks and FQDN's
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- Categories
- net-mgmt, perl5
- Package size
- 5.3 KiB, 7.5 KiB installed
Description
Net::IPAddr is a collection of helpful functions used to convert IP addresses to/from 32-bit integers, applying subnet masks to IP addresses, validating IP address strings, and splitting a FQDN into its host and domain parts.
No rocket science here, but I have found these functions to very, very handy. For example, have you ever tried to sort a list of IP addresses only to find out that they don't sort the way you expected? Here is the solution! If you convert the IP addresses to 32-bit integer addresses, they will sort in correct order.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | net-mgmt/p5-Net-IPAddress | 1.10_1 |
| FreeBSD | net-mgmt/p5-Net-IPAddress | 1.10_1 |
| HardenedBSD | net-mgmt/p5-Net-IPAddress | 1.10_1 |
| GhostBSD | net-mgmt/p5-Net-IPAddress | 1.10_1 |
Install
Binary package:
pkg install p5-Net-IPAddress
From DPorts:
cd /usr/dports/net-mgmt/p5-Net-IPAddress && make install clean