making perl work properly in emacs again