in reply to Re^2: read multi lines of a file in perl
in thread read multi lines of a file in perl

flipflop operator to the rescue:
perl -lne 'print if /^process/ .. /^end process/ and not /^process/ and not /^end process/' process lkhls ksjhfk end process process kfhls kfh end process
apparently does what you want:
ksjhfk kfh
[]s, HTH, Massa (κς,πμ,πλ)