Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by grep (Monsignor)
on Aug 12, 2007 at 00:43 UTC ( #631999=note: print w/ replies, xml ) Need Help??


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
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://631999]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (17)
As of 2014-08-22 16:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (161 votes), past polls