if (/start/i .. /end/i) { print unless /start/i or /end/i; }