in reply to Use of next if...

Its a regex. Don't quote anything in it unless you want to match the quotes. And if you know they're all three characters, no need for ^ or $ :
next if /EMP/;