Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl Command Interpreter. 2

Status
Not open for further replies.

DaSe

Programmer
Feb 14, 2008
149
GB
Hi guys ,
just a question regaring "Perl Command interpreter" - I have Perl 5.10.0 biuld 1004 installed on Vista x86.Whenever I double-click on the perl icon the prompt window ( interpreter ) appears for a second and then closes down.It's regarding a .pl files.Any ideas ? Thanks.
 
I have ActivePerl 5.10.0 Build 1002 on Vista and all works fine.
I don't understand your problem, you don't have to double click on amy icon, instead you should open your command prompt and write a command
Code:
> perl your_perl_script.pl
Or if you want to try the perl commands interactively, you can use Perl Console.
 
Or try an IDE which makes things much easier. A free one for Windows is Perl Express. A google search will find it.

Or read the activeperl documentation and learn how to run your perl programs. Its under the "Getting Started" section.

------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
Thanks guys , yes I know how to use it - I was wondering why there's a window popping up for a second when you double click on a perl file directly.Thanks for help.
 
Once you install ActiveState, you get a winddows file association from .pl tp Perl. So when you doble click the .pl file, Windows opens cmd.exe, runs your program (without any arguments), then exits.

Steve

[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object::perlDesignPatterns)[/small]
 
Hi guys,
When we now spoke about the thema of Perl IDEs I have one question too. When I write something in Perl I'm simply using a text editor and command line.
But If I write something in Java I'm using Eclipse and it's more productive due to the help on syntax and other tools delivered by the IDE.
Are they any good Perl-plugins for Eclipse or NetBeans, which you are using?
 
EPIC is the plugin of choice for Perl development with Eclipse. Documentation is rather poor compared to e.g. Microsoft Visual Studio, but if you are already developing with Java, you should have no difficulties.

_________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top