in reply to I'm looking for a one-liner filter 'twixt two regexes

Um, I have tried this fella...
perl -pi.bak -e "/end_reg/ && print && last; /start_reg/ && $inside++; + next unless inside;" *.html
but it doesn't output anything! Any ideas?