Hi, all, Can anyone tell where can I find the perl library for manipulating 'ini files'? Thanks, kaiduan ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca
iH from cpan, i use this module a lot !! http://search.cpan.org/~wadg/Config-IniFiles-2.38/IniFiles.pm - hcir On Jul 7, 2004, at 12:40 PM, kaiduan xie wrote:> Hi, all, > > Can anyone tell where can I find the perl library for > manipulating 'ini files'? Thanks,
Holger Schurig
2004-Jul-07 23:53 UTC
[Asterisk-Users] Perl library to manipulate 'ini files'
> Can anyone tell where can I find the perl library for > manipulating 'ini files'? Thanks,Asterisk config files are not really INI files. E.e. one line can come up several times: disallow=any allow=ABCD allow=BCDE and so on. If you want python and not perl and only generate (not read) config files, you might look at the source code of DESTAR, http://www.holgerschurig.de/destar.html. Starting point is asterisk.py Other Python classes are at http://sourceforge.net/projects/pyst/, see astconfig.py in their CVS. There might be perl code out there, but I'm not very much anymore in Perl :-)