I use XEmacs. Emacs is ok too, but make sure you use cperl-mode
and not the standard perl-mode. Cperl-mode has vastly improved
support for good indentation, syntax highlighting, and a number
of other things. I'm pretty sure cperl-mode is included in latest
versions of XEmacs. If not, you can get it at
ftp://ftp.math.ohio-state.edu/pub/users/ilya/emacs/.