in reply to File/String search...
The problem is that your until() block will always fail, since you're never changing $_ like you are for each iteration through the while() loop. If you want to insist on doing it this way (the other posters already give you enough advice), you may have to do something like set a flag when you see the 'start' pattern, append each subsequent line while your flag is set, and clear the flag when your 'end' pattern is reached.