Beast <mailto:[EMAIL PROTECTED]> wrote:
: 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"
And how do you want data structure do you want it to go into?
An array of hashes, a hash of hash???
Charles K. Clarkson
--
Mobile Homes Specialist
254 968-8328
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>