open (DATA,") { if (/Start context/ .. /\* Exit context \*/) { print unless /(Start context|\* Exit context \*)/; last if /\* Exit context \*/; } }