<?xml version="1.0" encoding="windows-1252"?>
<node id="530" title="Where can I get perl-mode for emacs?" created="1999-10-07 20:12:56" updated="2005-08-10 14:17:31">
<type id="834">
perlfaq nodetype</type>
<author id="519">
faq_monk</author>
<data>
<field name="doctext">


&lt;P&gt;
Since Emacs version 19 patchlevel 22 or so, there have been both a
perl-mode.el and support for the perl debugger built in. These should come
with the standard Emacs 19 distribution.

&lt;P&gt;
In the perl source directory, you'll find a directory called ``emacs'',
which contains a cperl-mode that color-codes keywords, provides
context-sensitive help, and other nifty things.

&lt;P&gt;
Note that the perl-mode of emacs will have fits with &lt;CODE&gt;&amp;quot;main'foo&amp;quot;&lt;/CODE&gt;
(single quote), and mess up the indentation and hilighting. You should be
using &lt;CODE&gt;&amp;quot;main::foo&amp;quot;&lt;/CODE&gt; in new Perl code anyway, so this shouldn't be an issue.

&lt;P&gt;
</field>
</data>
</node>
