Munin:...eration(3pm)
β¨ NAME β¨
Munin::Node::Configure::HostEnumeration β bestie, this lil module takes a list of hosts and hands you back the matching IPs in dotted-quad form π (it's a Perl module, section 3pm, straight out of the User Contributed Perl Documentation, iykyk)
πΈ SYNOPSIS πΈ
@hosts = ('switch1', 'host1/24', '10.0.0.60/30');
foreach my $host (expand_hosts(@hosts)) {
# ...
}
literally that's the whole vibe, you feed it hosts, it feeds you IPs π¦
π SUBROUTINES π
expand_hosts
@expanded = expand_hosts(@list);
okay so here's the tea β β it takes a list of hosts and returns the corresponding IPs in dotted-quad form. no cap, that's its whole job and it ate π
Items can be specified as a hostname or a dotted-quad IP, either with or without a netmask. so like, both slay, pick whichever π
π¨ important bestie π¨ β currently only IPv4 addresses are supported. IPv6 is not invited to this party, sorry babes π
that's it, that's the module π«Ά shine on, and go enumerate some hosts β¨
mwah π β this page came to you courtesy of perl v5.42.3, dated 2026-09-30, section 3pm of the User Contributed Perl Documentation. iconic, timeless, obsessed π
π¦ where this page comes from
- fedora 43: munin-node 2.0.78-1.fc43 Β· GPL-2.0-only
- fedora 44: munin-node 2.0.78-1.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms