Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Config::IniFiles

by shagbark (Acolyte)
on Mar 18, 2013 at 19:07 UTC ( #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
Node Status?
node history
Node Type: note [id://1024128]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2020-06-06 15:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (41 votes). Check out past polls.

    Notices?