Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 chanting in the Monastery: (6)
As of 2014-07-24 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls