Net::D...4Utils(3pm)
Net::DHCP::Packet::IPv4Utils π
okay so bestie, you found the page for Net::DHCP::Packet::IPv4Utils β that's the IPv4 utility bit of the Perl manual pages, aka Net::D...4Utils(3pm), and it's giving "object methods for IPv4 in Net::DHCP" β¨
VERSION π
version 0.7
SYNOPSIS π¦
use Net::DHCP::Packet::IPv4Utils qw( :all );
DESCRIPTION πΈ
ngl, this module is probably not at all useful on its own β it's a sidekick module, not the main character. π
IPv4 UTILITY METHODS π§
packinet ( STRING )β takes an IP address that looks like"xx.xx.xx.xx"and turns it into a packed 4-byte string. lowkey iconic: these are simple, never-failing versions ofinet_ntoaandinet_aton. no drama, no errors, just vibes. πpackinets ( STRING )β hands you a list of IP addresses separated by spaces, and it hands back one packed bytes string. slay. β¨packinets_array( LIST )β same energy but the input is an array (a list) of IP addresses, and you get a packed bytes string out the other side. π«Άunpackinet ( STRING )β the reverse girly: takes a packed bytes IP address and gives you back a"xx.xx.xx.xx"string. π₯unpackinets ( STRING )β takes a packed bytes list of IP addresses and turns it into a list of"xx.xx.xx.xx"strings, all space delimited. πunpackinets_array ( STRING )β takes that packed bytes list of IP addresses and returns an array of"xx.xx.xx.xx"strings. array mode, periodt. π
SEE ALSO β
Net::DHCP::OptionsNet::DHCP::Constants
AUTHOR π
Dean Hamstead <dean@fragfest.com.au>
COPYRIGHT AND LICENSE πΈ
This software is Copyright (c) 2022 by Dean Hamstead.
This is free software, licensed under:
The MIT (X11) License
k bye bestie, this page was generated by perl v5.42.0 on 2025-07-25 and documented as Net::D...4Utils(3pm) β go forth and pack some bytes π
β¨
π¦ where this page comes from
- fedora 43: perl-Net-DHCP 0.700-11.fc43 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms