The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Tie::Config - class definitions for tied hashes config file reading

SYNOPSIS

  use Tie::Config;
  
  tie %hash, 'Tie::Config', ".foo_rc", O_RDWR;
  
  

DESCRIPTION

Tied config file reader

USE

  use Tie::Config;
    
  tie %hash, 'Tie::Config', ".foo_rc", O_RDWR;
        
    print $hash{'key'};
    $hash{'key'} = "newvalue";
    
  untie %hash;

Comments is handled internal and is wroted at the top of the file. If ommited access mode default is O_RDONLY ( read only access ). Currently supported mode is only O_RDONLY and O_RDWR.

If config file is changed between tie and untie by other proces, any changes will be lost.

AUTHOR INFORMATION

Copyright 2000 Jan 'Kozo' Vajda <Jan.Vajda@pobox.sk>. All rights reserved. It may be used and modified freely, but I do request that this copyright notice remain attached to the file. You may modify this module as you wish, but if you redistribute a modified version, please attach a note listing the modifications you have made.

Address bug reports, patches and comments to: Jan.Vajda@pobox.sk

CREDITS

Thanks very much to:

my wife Erika

for neverending patience

koleso ( tibor@pobox.sk )

for permanent discontent

Alert Security Group ( alert@alert.sk )

for some suggestions & solutions

O'Reilly and Associates, Inc

for my perl book :-{))

...and many many more...

for many suggestions and bug fixes.

SEE ALSO

perl(1), perltie(1), Tie::Hash(3)