Print line unless it matches E
while(<DATA>){ print unless /E/; # Print line unless it matches E } __DATA__ S B I N J E