More VERSION tuning: to avoid unnecessary Perl upgrades
[p5sagit/p5-mst-13.2.git] / lib / Net / README.config
CommitLineData
406c51ee 1Hopefully the next release of libnet will be release 2.00. For this
2release I want to completely re-write the configuration system.
3
4My current thoughts are that a hash of values is not sufficient and that
5Net::Config should be code. This is what I have planned, if you see any
6problems or have any ideas please let me know by sending an Email
7to gbarr@pobox.com
8
9Net::Config will become an object based interface. Methods will be called
10as static methods on the package. Net::Config will inherit from
11Net::LocalCfg and Net::Config::default. Net::LocalCfg is a package
12that local sys-admins can write to override the defaulr behaviour of
13Net::Config.
14
15Most of the variables that are currently stored in Net::Config will
16be turned into method calls, eg $NetConfig{'nntp_hosts'} will
17become Net::Config->nntp_hosts
18
19This approach will allow for a better implementation of the firewall code,
20which currently makes a lot of assumptions. To aid this Net::Config::default
21will provide a method 'reachable' which will take a single argument as
22a hostname and should return true it the host is reachable directly.
23
24This will also allow people who have dialup accounts, and appear in different
25domains at different times, to do what they need.
26
27Graham
28gbarr@pobox.com