Solved

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

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

685 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