Solved

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

Posted on 2008-10-19
5
397 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
  • 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Eclipse and java version isssue 2 31
The line on IDE 4 35
CKEditor - will not function 7 32
combine multiple lines 2 21
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

708 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now