views:

400

answers:

4

I'm working on a project that include both Java (on the client side) and Perl (on the server side), and I would really like to use Eclipse to edit my Perl scripts instead of going to another editor. I've tried to use the EPIC plugin. However, I have no way of setting up a run environment for these scripts on my local machine, so the plugin displays all kinds of errors related to missing libraries and other external dependencies.

I just want a text editor with nice syntax highlighting for Perl. Any suggestions? Any way that you can turn off the runtime error checking when using the EPIC plugin? I wasn't able to find anything with a quick search.

+1  A: 

You didn't indicate your OS. Try Padre - it is cross-platform. It can be installed with the CPAN shell (if you use Strawberry Perl on Windows, you will need at least the version from October). Padre is still rapidly evolving, but already has support for Perl 5 and 6 (6 will require a plugin). HTML, JavaScript and CSS (also with plugins). Many other plugins are already written, for example for Perl::Critic.

Alexandr Ciornii
It's only cross-platform if you can get Wx to compile, and that's not often an easy task.
brian d foy
+1  A: 

You could try Perlipse, which appears to be an active project.

Fabian Steeg
I had not heard of Perlipse. Thanks for the tip. I installed it and tried it out, but I got all kindof exceptions. My impression was that it was not ready for prime time. Googling the exception I got, I found this thread: http://www.poweredbypulse.com/forums/showthread.php?t=846
Joel Carranza
+3  A: 

It isn't a setting, per se, in the workbench. It's a per-project setting.

While in your Perl project, select Project->Properties. In that dialog, click on "Builders". You probably have just the one-- "Perl Auto Builder". De-select it and click "Ok".

Unfortunately, you'll have to do this for each separate Perl project.

rjray
A: 

Emacs is a great text editor for Perl. cperl-mode has the best Perl syntax highlighting support of any editor (even Padre), and Emacs should meet all of your editing needs. It is easily scriptable, and there are thousands of extensions available for it. (Some even make support for Perl better, like Stylish::REPL.)

jrockway
Yes, downmod legitimate suggestions! Regardless of your personaltastes, vim and emacs are the most popular perl editors.
jrockway
Well, the OP specifically wanted to stay in the same editor.
jplindstrom