LIBNETCFG(1perl)
β¨ LIBNETCFG β¨
okay bestie, welcome to libnetcfg β the lil utility that lives in the Perl Programmers Reference Guide, and yes it's the glow-up era of the classic libnetcfg page π
π NAME π
libnetcfg β configure libnet, fr fr
πΈ DESCRIPTION πΈ
So like, the libnetcfg utility is literally the tool you use to configure libnet. Starting from perl 5.8, libnet is part of the standard Perl distribution β iconic β but libnetcfg can be used for any libnet installation. Any. Of them. No cap. π¦
π USAGE π
no arguments? it just spills the tea β
Without arguments, libnetcfg displays the current configuration:
$ libnetcfg
# old config ./libnet.cfg
daytime_hosts ntp1.none.such
ftp_int_passive 0
ftp_testhost ftp.funet.fi
inet_domain none.such
nntp_hosts nntp.none.such
ph_hosts
pop3_hosts pop.none.such
smtp_hosts smtp.none.such
snpp_hosts
test_exist 1
test_hosts 1
time_hosts ntp.none.such
# libnetcfg -h for help
$
It tells you where the old configuration file was found β if it was found. (if notβ¦ well, nothing to report, bestie π«Ά)
The -h option will show a usage message. handy!
actually changing stuff π₯
To change the configuration you will need to use either the -c or the -d options. those two, pick one.
the old config file situation π
The default name of the old configuration file is by default libnet.cfg, unless otherwise specified using the -i option, -i oldfile, and it is searched first from the current directory, and then from your module path. like it checks your room first and then the rest of the house. π
the new config file situation β¨
The default name of the new configuration file is libnet.cfg, and by default it is written to the current directory, unless otherwise specified using the -o option, -o newfile. so if you don't say otherwise it's dropping it right where you're standing. main character energy honestly π
bestie heads up: nothing here gets written unless you bring-c,-d,-i, or-oto the party. no arguments = read only, look don't touch vibes. π
π¦ SEE ALSO π¦
Net::ConfiglibnetFAQ
go read those too, they're giving supplemental lore π
π AUTHORS π
- Graham Barr, the original Configure script of libnet. the blueprint fr.
- Jarkko Hietaniemi, conversion into
libnetcfgfor inclusion into Perl 5.8. the glow-up arc π
and that's the whole page babes β this was perl v5.44.0, dated 2026-10-17, from the LIBNETCFG(1perl) page in the Perl Programmers Reference Guide. slay, go configure something π β¨
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms