in reply to Parsing a file, splitting current line into multiple ones, to be parsed separately

You could try using a grammar parsing module instead of a line-oriented approach. Then you don't need to rearrange the parens.
  • Comment on Re: Parsing a file, splitting current line into multiple ones, to be parsed separately

Replies are listed 'Best First'.
Re: Re: Parsing a file, splitting current line into multiple ones, to be parsed separately
by JojoLinkyBob (Scribe) on Jun 14, 2001 at 03:05 UTC
    Hmm that definitely makes sense, I'll look into it. Are there any good grammar parser modules you recommend?

    thx, jojo