Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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
Domain Nodelet?
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 meditating upon the Monastery: (3)
As of 2021-11-27 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?