while () { print unless ((//../<\/dummy_record>/) || (//)); } __DATA__ 11111 abcd 22222 efgh 22222 efgh