Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Config::IniFiles

by shagbark (Acolyte)
on Mar 18, 2013 at 19:07 UTC ( [id://1024128]=note: print w/replies, xml ) Need Help??


in reply to Config::IniFiles

Nice, but why do we have all these accessor functions? Why not just return a hash where each entry is converted to
$hash{section}->{parameter} = $value

Then it would be easy to make it work with other Perl code. For instance, I could print out all of the data that the config file loaded with a single library function call.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-25 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found