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';
env
This refers directly to the ENV hash.
ENV
group
mail
This is a special key. It forms a hash, with subkeys. See below for more information
net
This is a special key. It forms a hash with additional subkeys. See below for more details.
user
This is a link to the TieUser module (CfgTie::TieUser).
TieUser
Composite primary keys are just like absolute file paths. For example, if you wanted to do something like this:
my %lusers = $gen{'user'}; my $Favorite_User = $lusers{'mygirl'};
You could just do:
my $Favorite_User = $gen{'/users/mygirl'};
These are the things automatically included in. This will be described below.
aliases
CfgTie::TieAliases
host
CfgTie::TieHost
service
CfgTie::TieServ
protocol
CfgTie::TieProto
addr
CfgTie::TieNet
Other keys are automatically (if it all possible) brought in using the following procedure:
use AABot;
OS3
Config
use
tie
OS3::Config
OS3::TieConfig
OS3::ConfigTie
undef
CfgTie::TieAliases, CfgTie::TieGroup, CfgTie::TieHost, CfgTie::TieMTab, CfgTie::TieNamed, CfgTie::TieNet, CfgTie::TiePh, CfgTie::TieProto, CfgTie::TieRCService, CfgTie::TieRsrc, CfgTie::TieServ, CfgTie::TieShadow, CfgTie::TieUser
Randall Maas (mailto:randym@acm.org, http://www.hamline.edu/~rcmaas/)
To install Secure::File, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Secure::File
CPAN shell
perl -MCPAN -e shell install Secure::File
For more information on module installation, please visit the detailed CPAN module installation guide.