Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Problem with Config::IniFiles multi-valued parameters and WriteConfig

by pKai (Priest)
on Jul 13, 2009 at 09:26 UTC ( #779508=note: print w/ replies, xml ) Need Help??


in reply to Problem with Config::IniFiles multi-valued parameters and WriteConfig

I have used Config:IniFiles in the past and always liked the TIEHASH interface.

The mismatch in reading multi entries vs. writing that values struck me as odd, too. Though I never had the necessity to keep the syntax, as you have.

Patching: On the plus side it seems it would be enough to enhance sub OutputConfig (maybe also enhancing the constructor's config to make the behaviour adjustable).
Would have been nice if the part where the ARRAY is written, were a sub, which would offer the possibility to inhert from Config::IniFiles and override that behaviour without patching.


Comment on Re: Problem with Config::IniFiles multi-valued parameters and WriteConfig
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://779508]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-09-20 05:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (153 votes), past polls