Variable: perl-tab-to-comment
perl-tab-to-comment is a customizable variable defined in
perl-mode.el.gz.
Value
nil
Documentation
Non-nil means TAB moves to eol or makes a comment in some cases.
For lines which don't need indenting, TAB either indents an existing comment, moves to end-of-line, or if at end-of-line already, create a new comment.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/perl-mode.el.gz
;; I changed the default to nil for consistency with general Emacs
;; conventions -- rms.
(defcustom perl-tab-to-comment nil
"Non-nil means TAB moves to eol or makes a comment in some cases.
For lines which don't need indenting, TAB either indents an
existing comment, moves to end-of-line, or if at end-of-line already,
create a new comment."
:type 'boolean)