CPerlMode

来自开放百科 - 灰狐
跳转到: 导航, 搜索

CPerlMode is a more advanced mode for programming perl than the default PerlMode.

To replace the standard perl-mode with cperl-mode you need the following in your ~/.emacs file

(add-to-list 'auto-mode-alist '("\\.\\([pP][Llm]\\|al\\)\\'" . cperl-mode)) 
(add-to-list 'interpreter-mode-alist '("perl" . cperl-mode))
(add-to-list 'interpreter-mode-alist '("perl5" . cperl-mode))
(add-to-list 'interpreter-mode-alist '("miniperl" . cperl-mode)) 

‘M-x cperl-mode’

http://www.emacswiki.org/cgi-bin/wiki/CPerlMode

Get the latest version here:

http://math.berkeley.edu/~ilya/software/emacs/
http://math.berkeley.edu/~ilya/software/emacs/cperl-mode.el.5.22.bz2 
bunzip2 cperl-mode.el.5.22.bz2
mv cperl-mode.el.5.22 cperl-mode.el
分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱