Solved

Perl beginner -- Eclipse Display view has "Display Result" icon grayed out

Posted on 2008-10-19
5
403 Views
Last Modified: 2012-06-21
I have a Perl script that I have loaded into Eclipse (using the EPIC plugin).

In both the Perl perspective and the Debug perspective, I have tried to execute a command in the Display view.

However, the "Display Result" icon on the Display view is grayed out.

What do I need to do to turn enable it?
0
Comment
Question by:josgood
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 39

Expert Comment

by:Adam314
ID: 22754783
I think that view is only for use with Java, not perl.
0
 
LVL 13

Author Comment

by:josgood
ID: 22754788
Well that would certainly explain it.

Are you aware of any analagous view for Perl?  I can run perl from the command line, but that can potentially be a different environment.
0
 
LVL 13

Author Comment

by:josgood
ID: 22754789
Perhaps a plugin?  I'm currently using EPIC.
0
 
LVL 39

Accepted Solution

by:
Adam314 earned 500 total points
ID: 22758311
I'm not real certain what that view would do.  There is the perl expression view, which allows you to run any code in the current context of what is being debugged.  Here is the guide for EPIC, which might help:
    http://www.epic-ide.org/downloads/EPIC_User's_Guide.pdf

When I want to run some test code, what I'll do is place it at the beginning of my main program file, then put exit after it.  Then when I click the run button, it runs within EPIC.

********** The .pl file that gets run when I click the run button
#!/usr/bin/perl
use strict;
use warnings;
#use some other module
 
#I add my test code here
exit;
 
#my normal code is here

Open in new window

0
 
LVL 13

Author Closing Comment

by:josgood
ID: 31507611
Thank you.  That's a creative response to a question whose answer is almost "you can't do that".  Thank you for taking the time to guide me.  I'll remember that trick.
0

Featured Post

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand column That will then direct you to their download page. From that p…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Six Sigma Control Plans

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question