Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

RE: Config::IniFiles

by metaperl (Curate)
on Oct 11, 2000 at 20:44 UTC ( [id://36245]=note: print w/replies, xml ) Need Help??


in reply to Config::IniFiles

Actually, the Config::IniFiles handles win-style configuration files in a better manner.

It allows access to variables by section and name, whereas with AppConfig you have to grok a name which is the concatenation of section and name. Thus:

[db] user = bob pass = pass
can be grokked in Config::IniFiles as
$config->val('db','user');
While AppConfig requires you first to define it as a variable and then to grok it:
$config->define('db'); $config->get('db_user');

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-20 08:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found