http://qs321.pair.com?node_id=631999


in reply to Re^2: Some thoughts around the "is Perl code maintainable" discussion
in thread Some thoughts around the "is Perl code maintainable" discussion

yet i've never seen an editor get it right for perl

I've been more than happy with emacs's cperl-mode (and mostly happy with perl-mode) syntax highlighting. So IMO emacs gets it right.

  • Comment on Re^3: Some thoughts around the "is Perl code maintainable" discussion

Replies are listed 'Best First'.
Re^4: Some thoughts around the "is Perl code maintainable" discussion
by erroneousBollock (Curate) on Aug 12, 2007 at 06:50 UTC
    Open up the source of SOAP::Transport::HTTP... does it look OK to you? (Scroll through the whole file)

    Seems really screwed here.

    YMMV.

    -David

      I assume you didn't expect me to actually look... but I did.

      I used SOAP version 0.28, emacs 21.4.1 with it's current version of cperl-mode.
      I looked at

      • SOAP::Transport::HTTP::Apache
      • SOAP::Transport::HTTP::CGI
      • SOAP::Transport::HTTP::Client
      • SOAP::Transport::HTTP::Server
      I saw no mistakes in syntax highlighting. So unless you have a specific complaint, I would suggest checking out your assertion before you post. I'll be quite happy to post screen shots if needed.
        I just scrolled through the whole file.
        I have almost the same versions.
        I see breakage that seems to be caused by mis-parses of string termination... not vim-bad... but still broken ;)
        Could you post that screenshot somewhere so that I may compare it?

        Update: Is it possible that I've mis-configured something and it's falling back to perl-mode ?

        I'll be the first to admit I'm not an emacs expert. Only really been using it for 3 months (to play with lisp and slime).

        I'm much more comfortable in vim (even with its really weak syntax-highlighting). I've been using it for 10+ years so it's just what I'm used to i guess. My fingers are still not used to hitting the control/alt-keys so much.

        Update 2:
        Nevermind. It seems my lisp skills are quite sub-par :(

        Latest ntemacs and latest cperl-mode (+ actually following instructions) seems quite fine.

        Thanks grep, for making me check my facts!

        -David.