obonaventure has asked for the wisdom of the Perl Monks concerning the following question:
CONTENTS OF TEST.INIuse Config::IniFiles; $cfg = new Config::IniFiles( -file => uc "test.ini", -nocase => 1); @FileExten = $cfg -> Parameters(FileExten); foreach $FileExten (@FileExten) { $FileExt = uc $cfg -> val(FileExten, $FileExten); print "$FileExtension is $FileExt\n"; }
[FileExten] FileExten1 = Value1 FileExten2 = Value2 FileExten3 = Value3 FileExten4 = Value4 FileExten5 = Value5 FileExten6 = Value6 FileExten7 = Value7 FileExten8 = Value8 FileExten9 = Value9
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reading an INI file in an array
by Tanktalus (Canon) on Sep 07, 2005 at 03:49 UTC | |
|
Re: Reading an INI file in an array
by pg (Canon) on Sep 07, 2005 at 04:30 UTC |