libnetcfg - configure libnet
The libnetcfg utility can be used to configure the libnet. Starting from perl 5.8 libnet is part of the standard Perl distribution, but the libnetcfg can be used for any libnet installation.
Without arguments libnetcfg displays the current configuration.
$ libnetcfg# old config ./libnet.cfgdaytime_hosts ntp1.none.suchftp_int_passive 0ftp_testhost ftp.funet.fiinet_domain none.suchnntp_hosts nntp.none.suchph_hosts pop3_hosts pop.none.suchsmtp_hosts smtp.none.suchsnpp_hosts test_exist 1test_hosts 1time_hosts ntp.none.such# libnetcfg -h for help$
It tells where the old configuration file was found (if found).
The-h
option will show a usage message.
To change the configuration you will need to use either the-c
or the-d
options.
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.
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
.
Graham Barr, the original Configure script of libnet.
Jarkko Hietaniemi, conversion into libnetcfg for inclusion into Perl 5.8.
Perldoc Browser is maintained by Dan Book (DBOOK). Please contact him via theGitHub issue tracker oremail regarding any issues with the site itself, search, or rendering of documentation.
The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via thePerl issue tracker, themailing list, orIRC to report any issues with the contents or format of the documentation.