Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 taking refuge in the Monastery: (21)
As of 2014-07-11 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (229 votes), past polls