Net::DHCP(3pm)
β¨ NAME β¨
Net::DHCP β the manual page for the Perl module that hands you object methods to create a DHCP packet π (yes it's Net::DHCP, a 3pm page, we're in Perl land bestie, get comfy π«Ά)
πΈ VERSION πΈ
version 0.7 β¨
π SYNOPSIS π
okay so this is literally how you do it:
use Net::DHCP::Packet;
my $p = Net::DHCP::Packet->new(
'Chaddr' => '000BCDEF',
'Xid' => 0x9F0FD,
'Ciaddr' => '0.0.0.0',
'Siaddr' => '0.0.0.0',
'Hops' => 0);
look at her π a whole DHCP packet, born from like six key-value pairs. it's giving effortless π
π¦ DESCRIPTION π¦
This module represents a DHCP packet as specified in RFC 1533 and RFC 2132. that's it, that's the whole vibe β it's a packet, it's DHCP, it's standards-compliant, slay π¦β¨
π SEE ALSO π
the friend group π«Ά go check them out:
Net::DHCP::OptionsNet::DHCP::Constants
π AUTHOR π
Dean Hamstead <dean@fragfest.com.au> π the main character who made this happen, no cap
π COPYRIGHT AND LICENSE π
This software is Copyright (c) 2022 by Dean Hamstead.
This is free software, licensed under:
The MIT (X11) License π
so real, so free, so iconic. use it, love it, ship it β¨
and that's a wrap bestie π«Ά this page came to you via perl v5.42.0, dated 2025-07-25, filed under Net::DHCP(3pm) β go forth and packet π
πΈ
π¦ 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