in reply to Re^13: Config files
in thread Config files

Hi Jenda,

Thanks for the reply. The config::IniHash seems to convert all the keys and values from the config file to lowercase. Is there a way I can preserve the case changes that are seen in the config file after reading them in the hashes?
Thank you

Replies are listed 'Best First'.
Re^15: Config files
by Jenda (Abbot) on Dec 15, 2004 at 15:01 UTC

    Maybe it's time to read the module docs. There is an option that controls the case changes.

    Jenda
    We'd like to help you learn to help yourself
    Look around you, all you see are sympathetic eyes
    Stroll around the grounds until you feel at home
       -- P. Simon in Mrs. Robinson

      Thanks Jenda, I changed the code accordingly.

        Hi Jenda,

        In config::inihash, if I want to write a new parameter into the same file, should I use WriteINI? WriteINI writes a hash of hashes to a file, but for adding a new parameter, I was wondering if there was some other way.

        Thanks.