|
CfgTie::TieGeneric -- A generic hash that automatically binds others |
mailnet
CfgTie::TieGeneric -- A generic hash that automatically binds others
This is an associative array that automatially ties other configuration hashes
This is a tie to bring other ties together automatically so you, the busy programmer and/or system administrator, don't have to. The related Perl module is not loaded unless it is needed at runtime.
my %gen;
tie %gen, 'CfgTie::TieGeneric';
envENV hash.
groupmailnetuserTieUser module (the CfgTie::TieUser manpage).
my %lusers = $gen{'user'};
my $Favorite_User = $lusers{'mygirl'};
You could just do:
my $Favorite_User = $gen{'/users/mygirl'};
mailaliases
nethostserviceprotocoladdr
Other keys are automatically (if it all possible) brought in using the following procedure:
use AABot;
If that works we will tie it and return the results.OS3 is already tied (and try to tie it, like above, if not). If that
works, we will just look up Config in that hash. If it does not work, we
will try to use and tie OS3::Config, OS3::TieConfig, and
OS3::ConfigTie. If any of those work, we return the results.undef will be returned.
the CfgTie::TieAliases manpage, the CfgTie::TieGroup manpage, the CfgTie::TieHost manpage, the CfgTie::TieMTab manpage, the CfgTie::TieNamed manpage, the CfgTie::TieNet manpage, the CfgTie::TiePh manpage, the CfgTie::TieProto manpage, the CfgTie::TieRCService manpage, the CfgTie::TieRsrc manpage, the CfgTie::TieServ manpage, the CfgTie::TieShadow manpage, the CfgTie::TieUser manpage
Randall Maas (mailto:randym@acm.org, http://www.hamline.edu/~rcmaas/)
|
CfgTie::TieGeneric -- A generic hash that automatically binds others |