CfgTie

 view release on metacpan or  search on metacpan

CfgTie2.tex  view on Meta::CPAN

* CfgTie-Cfgfile::	
    
* CfgTie-TieRCService::	


* CfgTie-TieGeneric::	
 
* CfgTie-TieGroup::	
 
* CfgTie-TieHost::	


* CfgTie-TieNamed::	
   
* CfgTie-TieNet::	
 
* CfgTie-TiePh::	


* CfgTie-TieProto::	
   
* CfgTie-TieServ::	
  
* CfgTie-TieShadow::	


* CfgTie-TieUser::	


@end menu

the @emph{aliases}(5) manpage
the @emph{newaliases}(1) manpage

@subheading AUTHOR

Randall Maas (@email{randym@@acm.org}, @url{http://www.hamline.edu/~rcmaas/})

@c TeXInfo document produced by pod2texinfo version 1.1
@c from "TieGroup.pod".


@c 319
@node CfgTie-TieGeneric, CfgTie-TieGroup, CfgTie-TieAliases, CfgTie
@section CfgTie-TieGeneric


@c --- From file: - -------------------------

@subheading NAME


CfgTie::TieGeneric --- A generic hash that automatically binds others

@subheading SYNOPSIS

This is an associative array that automatially ties other configuration hashes

@subheading DESCRIPTION

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.
@example
        my %gen;
        tie %gen, 'CfgTie::TieGeneric';
@end example

@subsubheading Primary, or well-known, keys

@cindex Primary, or well-known, keys

@table @asis

@item @code{env}
@vindex @code{env}

This refers directly to the @code{ENV} hash.

@item @code{group}
@vindex @code{group}

@item @code{mail}
@vindex @code{mail}

This is a special key.  It forms a hash, with subkeys.  See below for more
information

@item @code{net}
@vindex @code{net}

This is a special key.  It forms a hash with additional subkeys. See
below for more details.

@item @code{user}
@vindex @code{user}

This is a link to the @code{TieUser} module (
@menu

* CfgTie-TieUser::	
).

@end menu

@item @emph{Composite}
@cindex @emph{Composite}

Composite primary keys are just like absolute file paths.  For example, if
you wanted to do something like this:
@example
        my %lusers = $gen@{'user'@};
        my $Favorite_User = $lusers@{'mygirl'@};
@end example

You could just do:
@example
        my $Favorite_User = $gen@{'/users/mygirl'@};
@end example

@item others...



( run in 0.773 second using v1.01-cache-2.11-cpan-800906f7e73 )