This was a mistake and makes it hard to compare the two. Instead, just
use `cperl-mode' by default and leave the other one as a backup plan.
;; Recognising types of files.
(setq auto-mode-alist
;; Recognising types of files.
(setq auto-mode-alist
- (append `(("\\.p[lm]$" . perl-mode)
+ (append `(("\\.p[lm]$" . cperl-mode)
("\\.m$" . objc-mode)
("\\.mxd$" . c-mode)
("\\.cs$" . csharp-mode)
("\\.m$" . objc-mode)
("\\.mxd$" . c-mode)
("\\.cs$" . csharp-mode)
(append `(("runlisp" . lisp-mode)
("@BASH@" . sh-mode)
("@PYTHON@" . python-mode)
(append `(("runlisp" . lisp-mode)
("@BASH@" . sh-mode)
("@PYTHON@" . python-mode)
+ ("@PERL@" . cperl-mode)
("@TCLSH@" . tcl-mode)
("@WISH@" . tcl-mode)
("/tclsh" . tcl-mode)
("@TCLSH@" . tcl-mode)
("@WISH@" . tcl-mode)
("/tclsh" . tcl-mode)
arm-assembler-mode-hook))
(global-font-lock-mode t)
arm-assembler-mode-hook))
(global-font-lock-mode t)
-(defalias 'perl-mode 'cperl-mode)
;;;--------------------------------------------------------------------------
;;; Rootly editingness.
;;;--------------------------------------------------------------------------
;;; Rootly editingness.
;; Perl indentation style.
;; Perl indentation style.
-(fset 'perl-mode 'cperl-mode)
(setq cperl-indent-level 2)
(setq cperl-continued-statement-offset 2)
(setq cperl-continued-brace-offset 0)
(setq cperl-indent-level 2)
(setq cperl-continued-statement-offset 2)
(setq cperl-continued-brace-offset 0)