To avoid hardcoding parameter in program, Im trying to make a separate file for config. However its not as simple as key/value which can be easily parse using split.

It is something like group of parameter, ie:

group = marketing
recipient = [EMAIL PROTECTED]
recipient = [EMAIL PROTECTED]
subject = "Test mkt"
body = "this is a test msg for mkt"

group = accounting
recipient = [EMAIL PROTECTED]
subject = "Test acc"
body = "this is a test msg for acct"


--

--beast


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to