Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Configuration files

by gaal (Parson)
on Jan 01, 2005 at 18:37 UTC ( [id://418672]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Configuration files
in thread Configuration files

The OP specified he needed complex data structures, which Config::Tiny does not support. (I like it too though!)

Replies are listed 'Best First'.
Re^5: Configuration files
by qq (Hermit) on Jan 01, 2005 at 20:16 UTC

    Its not really clear how much is needed: "assign values to arrays and hashes" covers a wide range. INI does not get you very far, of course, and I often have comma separated values on one line. But the code is nice if the OP just needs something to work from.

    On the question of 'additional modules', what you've tried to explain above is true. If you are distributing a script, there is really no difference to distributing it with the addition of another pure perl file that just happens to be a CPAN module rather than one you've written yourself. You can even inline it in the main script if just having one file eases people's concerns.

Log In?
Username:
Password:

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

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

    No recent polls found