Amit
Amit

Reputation: 3289

Executing perl on xampp using eclipse

I have installed EPIC plugin to my eclipse kepler and it is installed in directory C:\xampp But when i create a new projects from the eclipse and when i try to execute it , iam getting the following error as in screen shot below

enter image description here

Can anyone Please help me..

Upvotes: 0

Views: 175

Answers (1)

user1558455
user1558455

Reputation:

Your Problem is the Shebang. You use Windows, and an Xampp Server, so you need to say in your Shebang, that the Perlinterpreter is under #!"C:\xampp\perl\bin\perl.exe"

So all of your scripts need to start with

#!"C:\xampp\perl\bin\perl.exe"

instead of

#!/usr/bin/perl

EDIT:

As an example you could try to check the files under C:\xampp\cgi-bin\

Upvotes: 1

Related Questions