in reply to Code Formatting - generous spaces in expressions
M+x perl-mode
menu perl -> indent styles...
Read also:
http://www.emacswiki.org/emacs/IndentingPerl and
http://www.emacswiki.org/emacs/PerlTidyElisp