Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by pKai (Priest)
on Jul 13, 2009 at 09:26 UTC ( [id://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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-18 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found