in reply to More text file parsing

You could try something using the "flip-flop" operator:

while(<DATA>) { if (/START/ .. /STOP/ ) { print unless /(START|STOP)/; } } __DATA__ 1 2 START 3 4 5 STOP 6 7

/J\

Replies are listed 'Best First'.
Re^2: More text file parsing
by sashac88 (Beadle) on Jun 28, 2004 at 14:11 UTC
    Thanks, gellyfish-you're a genius...