|
CfgTie::TieNet -- A module to tie in the net database |
CfgTie::TieNet -- A module to tie in the net database
tie %net,'CfgTie::TieNet'
This is a straightforward hash tie that allows us to access the net database sanely.
There are two ties available for programmers:
tie %net,'CfgTie::TieNet'$net{$name} will return a hash reference of the named net information
tie %net_addr,'CfgTIe::TieNet_addr'$net_addr{$addr} will return a hash reference for the specified network
address.
Any given net entry has the following information assoicated with it:
NameAliasesAddrTypeAddrAdditionally, the programmer can set any other associated key, but this information will only available to the running Perl script.
the CfgTie::Cfgfile manpage, the CfgTie::TieAliases manpage, the CfgTie::TieGeneric manpage, the CfgTie::TieGroup manpage, the CfgTie::TieHost manpage, the CfgTie::TieNamed manpage, the CfgTie::TiePh manpage, the CfgTie::TieProto manpage, the CfgTie::TieServ manpage, the CfgTie::TieShadow manpage, the CfgTie::TieUser manpage
The current version does cache some net information.
Randall Maas (randym@acm.org)
|
CfgTie::TieNet -- A module to tie in the net database |