perl editor

S

syracuse

thanks, just trying to learn, I'm comfortable with vi, but thought a nicely
coloured editor could help with the syntax ...
Syr.

Michele Dondi said:
anyone knows what is a good free editor to use for perl ?

You're not twistedsomenumberwhichidontremember in disguise, are you?
;-)

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=editors


Michele
--
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
.'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
 
D

David Squire

syracuse wrote:

[top-posting corrected. Please don't do that]

[signature quoting eliminated. Please don't do that]
thanks, just trying to learn, I'm comfortable with vi, but thought a nicely
coloured editor could help with the syntax ...

Then you want vim or gvim.


DS
 
C

Chris Davies

syracuse said:
thanks, just trying to learn, I'm comfortable with vi, but thought a
nicely coloured editor could help with the syntax ...

vim {file}
: syntax on

Chris
 
J

Josef Moellers

Abigail said:
Josef Moellers ([email protected]) wrote on MMMMDCCXVII
September MCMXCIII in <URL:mad:@ syracuse wrote:
@@ > Hi
@@ > anyone knows what is a good free editor to use for perl ?
@@ > Thanks
@@ > Syracuse
@@
@@ vi?


vi isn't free. Although many good vi clones are.

Hmm, didn't know that. I usually call "vim" as "vi".
 
B

bleatingedge

Or vile/xvile. (as an extra bonus they use perl as their scripting
language)

With Vim, you can compile it with an embedded Perl interpreter, which
gives you some pretty powerful features. You can also compile in other
interpreters, like Python or Ruby, to name a couple. Of course, they
wouldn't be nearly as useful. =0)

bleatingedge
 
T

Ted Zlatanov

What should they do? Avoid it altogether? I don't use vi myself, but I
wouldn't regard it as such a bad thing...

I think Abigail is referring to the original request for a "free"
editor, which vi isn't but vim is.

Plain vi is pretty awful, so it should probably be avoided altogether.
I speak from experience, having used vi on Solaris for a while.
Compared to vim it's simply outdated, and it has too many limitations
to be useful for any serious programming. For Perl specifically,
vim's support is much better.

Ted
 
T

tinnews

Abigail said:
Ted Zlatanov ([email protected]) wrote on MMMMDCCXIX September MCMXCIII in
<URL:<> On 2 Aug 2006, (e-mail address removed) wrote:
<>
<> >
<> >> vim isn't vi. Despite toy OS distro's firing up 'vim' is you type 'vi'.
<> >
<> > What should they do? Avoid it altogether? I don't use vi myself, but I
<> > wouldn't regard it as such a bad thing...
<>
<> I think Abigail is referring to the original request for a "free"
<> editor, which vi isn't but vim is.
<>
<> Plain vi is pretty awful, so it should probably be avoided altogether.
<> I speak from experience, having used vi on Solaris for a while.
<> Compared to vim it's simply outdated, and it has too many limitations
<> to be useful for any serious programming. For Perl specifically,
<> vim's support is much better.


I do most of my Perl coding in 'vile', another 'vi' clone. However, over
99% of the commands I use would be identical in either 'vile' and 'vi'.
Hurrah, another vile user! :)
 
A

anno4000

Abigail said:
Ted Zlatanov ([email protected]) wrote on MMMMDCCXIX September MCMXCIII in
<URL:<> On 2 Aug 2006, (e-mail address removed) wrote:
<>
<> >
<> >> vim isn't vi. Despite toy OS distro's firing up 'vim' is you type 'vi'.
<> >
<> > What should they do? Avoid it altogether? I don't use vi myself, but I
<> > wouldn't regard it as such a bad thing...
<>
<> I think Abigail is referring to the original request for a "free"
<> editor, which vi isn't but vim is.
<>
<> Plain vi is pretty awful, so it should probably be avoided altogether.
<> I speak from experience, having used vi on Solaris for a while.
<> Compared to vim it's simply outdated, and it has too many limitations
<> to be useful for any serious programming. For Perl specifically,
<> vim's support is much better.


I do most of my Perl coding in 'vile', another 'vi' clone. However, over
99% of the commands I use would be identical in either 'vile' and 'vi'.

I'd say that 'vi' is more than sufficient for coding Perl. Some of the
extras of the 'vi' clones are nice to have, but I've yet to find a
feature that's impossible to live without.

The one thing I miss when I don't have vim it is its QuickFix
feature. Together with Vi::QuickFix you can visit all places the
last Perl run has output errors or warnings, without copy/pasting
or retyping file names and line numbers. I can do without the delay
and load on short-term memory.

Anno
 
C

cmic

Hi
(e-mail address removed) a écrit :
Emacs with cperl-mode work very well here.
I do agree. I use Emacs with Linux || Solaris (vtxxx console w/o syntax
coloring) and Emacs under Windows XP too, this one with syntax
"verification" and coloring. Emacs and CVS do fit well. My opinion
though.
 
R

Ronny

Look at this: http://www.scintilla.org/SciTE.html

What I don't like with Scite (but I'm using still version 1.58, so
correct me if this is wrong with a newer version), is that you
can't mark a region and shift the whole region to the right or
left (something which I often do with program code, when the
block structure changes).

(x)emacs and the *vi* family of editors are for sure powerful,
but over the time I found their user interface a bit annoying
(though I still have an inclination to use emacs from time to
time). A simple, portable and extendable editor which I use
right now for editing Perl files often, is jext (http://www.jext.org).
What I like is its ability to restore the last session automatically
(this is, however, also possible with emacs) and that the
user interface is very intuitive.

However, Jext recognizes Perl programs only by their
extension, not due to the #! line, which I consider its
biggest weakness.

Ronald
 
R

Ronny

Michele said:
jed, and I suspect also vi* and the various incarnations of emacs,
also recognizes a pattern which one often embeds in a comment (usually
at the top), like thus

# -*- Perl -*-

I find this feature very useful for modules, although I may set up
another association for '.pm'.

I like this too, and this is really one thing I'm missing with jext.

I had a look at jed, but from what I see, jed does not have the feature
to shift a region to the right or the left, isn't it?. I guess this is
something one could add by writing a S-Program, but at least
it doesn't seem to offer this out of the box.

Ronald
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,200
Messages
2,571,046
Members
47,646
Latest member
xayaci5906

Latest Threads

Top