Re: Perl IDE
by davido (Cardinal) on Sep 19, 2003 at 23:08 UTC
|
I understand that EMACS has a mode available that is great for Perl. And rumor has it that Tom Christiansen uses vi with some special configuration.
The perlfaq3 has a very good answer,
"Is there an IDE or Windows Perl Editor?:
Perl programs are just plain text, so any editor will do. If you're on Unix you already have an IDE -- Unix itself. The Unix philosophy is the philosophy of several small tools that each do one thing and do it well. it's like a carpenter's toolbox.
If you want an IDE check the following: "
And then the following items might be of interest to you (paraphrased from the FAQ).
- Komodo
- The Object System
- Open Perl IDE
Please refer to the perldoc perlfaq3 for details on those IDE's, or see Google.
The faq goes on to state that vi can be used effectively, and that emacs in cperl-mode (M-x cperl-mode) "...gives you perhaps the best available Perl editing mode in any editor."
That is just a brief intro into what turns out to be a lengthy yet very informative section in the perldoc perlfaq. I really encourage you to read it if you're looking for a Perl IDE. There are lots of great tips there, and links to respected products to aid your development.
Don't be afraid of the perldocs. perlfaq3 seems to answer exactly what you're asking. The POD's are already on your system (if your system has Perl). You will find a lot of gems there.
Hope this helps...
Dave
"If I had my life to do over again, I'd be a plumber." -- Albert Einstein | [reply] |
|
| [reply] |
Re: Perl IDE
by PodMaster (Abbot) on Sep 19, 2003 at 23:19 UTC
|
This question has been asked many, many many times before, I suggest you find those instances and read up.
In fact, the same question has been brought up using the same title as yours at least 3 previous times:
- Perl IDE
- perl ide
- Perl IDE
About the PerlMonks FAQ
MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!" | I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README). | ** The third rule of perl club is a statement of fact: pod is sexy. |
| [reply] |
Re: Perl IDE
by naChoZ (Curate) on Sep 20, 2003 at 01:14 UTC
|
| [reply] |
Re: Perl IDE
by Abigail-II (Bishop) on Sep 20, 2003 at 00:26 UTC
|
I use vile, with the following configuration file:
source /usr/local/share/vile/filters.rc
define-submode perl shiftwidth 4
define-submode java shiftwidth 4
bind-key execute-named-command ;
bind-key repeat-char-scan :
bind-key down-page g
bind-key previous-page v
bind-key next-window ^I
bind-key undo-changes-backward u
bind-key redo-changes-forward U
unbind-key q
set autoindent
set nobackspacelimit
; set cmode
; set c-suffixes \\.\\(\\([Cchis]\\)\\|CC\\|cc\\|cpp\\|cxx\\|nl\\|hxx\
+\|scm\\)$
; set c-shiftwidth 4
set csw 4
; set c-tabstop 8
; set c-preamble "^#\s*!\s*\/.*perl"
set noerrorbells
set linewrap
set magic
set printing-low 160
set printing-high 255
set report 1
set ruler
set showmatch
set showmode
set notabinsert
set undolimit 0
set nowarn-rename
1 store-macro
goto-beginning-of-file
append-string "#!/usr/bin/perl\n\n"
append-string "use strict;\n"
append-string "use warnings;\n"
append-string "no warnings qw /syntax/;\n"
set-mode "perlmode"
position-window b
open-line-below-and-append-chars
~endm
2 store-macro
save-file
shell-command &cat "perl " $cfilname
~endm
3 store-macro
save-file
shell-command &cat "perl -c " $cfilname
~endm
bind-key execute-macro-1 ^A-p
bind-key execute-macro-2 ^A-r
bind-key execute-macro-3 ^A-c
That's all I need for an IDE. ;-)
Abigail | [reply] [d/l] |
|
Why no warnings qw /syntax;? I've never seen someone do that ...
------ We are the carpenters and bricklayers of the Information Age. The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6 Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
| [reply] [d/l] |
|
if (COND) {
print ("something")
}
without Perl whining.
Abigail | [reply] [d/l] |
|
|
Re: Perl IDE
by herveus (Prior) on Sep 19, 2003 at 23:10 UTC
|
Howdy!
I use BBEdit on MacOS and Nedit on Unix...both let me
run shell commands as well as syntax check and run
scripts from the window...
yours,
Michael | [reply] |
|
ProjectBuilder on OS X does't suck.
| [reply] |
|
| [reply] |
Re: Perl IDE
by jdtoronto (Prior) on Sep 20, 2003 at 05:14 UTC
|
There is a new IDE written in Java - called Eclipse for which a Perl editor has just been released. I don't have the URL handy, but is is on Sourceforge. The Perl editor is called e-p-i-c and is also on Sourceforge. I don't think I have seen it mentioned more than in passing in the Monastery.
jdtoronto | [reply] |
Crimson Editor
by woolfy (Chaplain) on Sep 20, 2003 at 08:17 UTC
|
I've got no answer to the actual question, an IDE for Linux.
I'm using WinXP with ActiveState Perl 5.8.0 build 806. And I had to choose between several editors. I didn't like vi or emacs or the several incarnations thereof. I've used Perl Scripting Tool, AnyEdit, DZsoft, Perl Oasis and UltraEdit. None of them felt right.
Now I am using Crimson Editor, which is freeware, and has several nifty treats. I like it, it looks good, it is fast, helpful, and I don't have to do silly things like save, ftp, open another window to execute the script, etc. Just one-click-while-editing... (create your own macros).
By the way, Crimson has syntax files for a lot of programming languages and other types of apps where scripts are used, e.g. MySQL and Apache.
| [reply] |
Re: Perl IDE
by dragonchild (Archbishop) on Sep 21, 2003 at 01:54 UTC
|
map q :e #[Ctrl]-V[Enter]
map v :!perl -wc %[Ctrl]-V[Enter]
map V :!perl %[Ctrl]-V[Enter]
That's it. For the rest, I use vi's own editing features. All I need is two buffers, compile, and execute. 90% of the time, I don't ever use the shell. (This is another reason I don't like gvim.)
------ We are the carpenters and bricklayers of the Information Age. The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6 Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified. | [reply] [d/l] |