Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: More than just a config file

by zengargoyle (Deacon)
on Mar 05, 2003 at 20:01 UTC ( #240684=note: print w/ replies, xml ) Need Help??


in reply to More than just a config file

how about Config::General?

# myconfig <ALERT1> source = /var/etc/myalert1.pl green = 0 - 20 yellow = 21 - 40 red = > 40 </ALERT1> <ALERT2> source = /var/etc/myalert2.pl green = IN ('a','b','c') yellow = IN ('d', 'e') red = OTHERWISE </ALERT2> ...

you still have to parse the values of your settings (like IN and OTHERWISE). but it's quite readable and parseable by Config::General.


Comment on Re: More than just a config file
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2015-07-05 19:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls