Hi Michael perhaps Config-IniFiles.pm helps. At least it is easy.
Terveisin - Best regards Ari ____________________________________ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Higgins Sent: 12. kesäkuuta 2007 20:14 To: [email protected] Subject: Parsing Config file Hello, Gurus -- I'm stuck finding the best approach to parsing a config file. Some configuration items are grouped, nested, in matching braces '{}'. Some are item = value. I need to modify and replace three sections that are in this format item{.....item{....}}, capturing up to the matched brace. Any suggestions? Cheers, -- . . . . . .... . . . .. .. . . . .``. .`. .`. . . .` . . . . .` .` . .`. . `. . ` . . .`. .`` .```. . . .. . .. . . `. `. . . . . `. .... . . . `..` `..` . . . `..` _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
