Tie::Config - class definitions for tied hashes config file reading
use Tie::Config; tie %hash, 'Tie::Config', ".foo_rc", O_RDWR;
Tied config file reader
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.
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
Thanks very much to:
for neverending patience
for permanent discontent
for some suggestions & solutions
for my perl book :-{))
for many suggestions and bug fixes.
perl(1), perltie(1), Tie::Hash(3)
To install Tie::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tie::Config
CPAN shell
perl -MCPAN -e shell install Tie::Config
For more information on module installation, please visit the detailed CPAN module installation guide.