Net::D...4Utils(3pm)

πŸ“¦
version 0.700 Β· 2 versions
, in fedora 43

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 of inet_ntoa and inet_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::Options
  • Net::DHCP::Constants

AUTHOR πŸ’œ

Dean Hamstead <dean@fragfest.com.au>

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