[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: perl-mode vs cperl-mode
From: |
Michael Ekstrand |
Subject: |
Re: perl-mode vs cperl-mode |
Date: |
Fri, 07 Aug 2009 10:04:04 -0500 |
User-agent: |
Mozilla-Thunderbird 2.0.0.19 (X11/20090103) |
Colin Williams wrote:
> I guess I understand that it generally handles quirky syntax "better,"
> I'm looking more for examples/features that cperl-mode has that
> perl-mode fails at. So far we've got regexp and string quoting, are
> there any other "useful" features?
Regexp alone is enough for me. It actually syntax-highlights the
control sequences in the regexp, making it far easier to write them.
cperl-mode also distinguishes between hashes, arrays, and scalars,
highlighting names appropriately. Makes it easier to see how you're
actually using a variable name.
I'm not sure to what extent perl-mode does these; I jumped on cperl-mode
pretty fast. I don't believe it does either, though.
- Michael