in reply to I need to regex multiple lines

Wow... SO many solutions.. Thank you all so much. The $/ interests me a lot. I have read the article and decided upon a delimiter but I'm not really sure how to make it work. I'm trying:
open(IN, "filename.txt"); $/ = '/delimiter here/'; while(<>) { }
But I'm confused, how do I read chunks of data and operate upon them? I mean, grab the chunk with the delimted text and then perform some regex matching on it..