in reply to Reading a part of text file between markers
$/="\nEND\n"; while(<>) { # $_ contains a complete rule } [download]
Alberto Simões