in reply to File: set a new value inside a nested block

Do you mean "what is a good way of doing this?" or "what is the fastest/most memory-efficient way of doing it?". If it's just how to do it then I would say the above example looks easy enough to crack with a regular expression or did you run into problems with that?
  • Comment on Re: File: set a new value inside a nested block

Replies are listed 'Best First'.
Re^2: File: set a new value inside a nested block
by Anonymous Monk on Jan 20, 2011 at 09:41 UTC
    The replies to String Search provide code for dealing with very similar data.
Re^2: File: set a new value inside a nested block
by Cicatrix (Novice) on Feb 03, 2011 at 06:22 UTC
    tospo, Need the best and efficient way to do this. being an amateur its hard to get thru this :( thanks