unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: S Boucher <stbya@yahoo.com>
To: Mark Tilford <ralphmerridew@gmail.com>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: Perl mode and y=>
Date: Tue, 27 Sep 2011 12:26:09 -0700 (PDT)	[thread overview]
Message-ID: <1317151569.61215.YahooMailNeo@web161608.mail.bf1.yahoo.com> (raw)
In-Reply-To: <CAKnavseXcTBOqBMxOOqKoV0yH74v+Ru96tOryMiythhmwGj3Rw@mail.gmail.com>





----- Original Message -----

> For some reason, Perl mode behaves oddly

Perl is... odd.  I've used perl for a long time with emacs.  You just learn to live with the problems.

Perl's syntax has too many cases of context sensitive interpretations of characters.  It's just hell to make emacs capable to deal with all this.  I suspect Perl is the only software capable of parsing perl code :-)

If it's any consolation, we managed to convince Larry Wall back in the days when perl 5 was being "designed" to not follow Tom Christiansen's idea of what the scope operator should be. Tom wanted the single quote. Most prefered C++'s :: for familiarity and friendlyness to parsers.  If you think things are bad now, imagine having the single quote has the scope operator :-)



      reply	other threads:[~2011-09-27 19:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-27 17:51 Perl mode and y=> Mark Tilford
2011-09-27 19:26 ` S Boucher [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1317151569.61215.YahooMailNeo@web161608.mail.bf1.yahoo.com \
    --to=stbya@yahoo.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ralphmerridew@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).