Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Problems running perl scripts

Posted on 1998-05-17
4
Medium Priority
?
250 Views
Last Modified: 2013-12-25
Hello.

Were trying to get a perl script called fruit bbs to work.
The problem is that when we call the script from the browser,
the script is shown in the window, and not executed.

The first line of the script reads #!/usr/bin/perl. Is the the line to change? and if so, what should i change it to?

If it's any help, our servers path is C:\progra~1\sambar\
In that directory we have a directory called perl, which contains the perl exe.

The script's path is;
C:\progra~1\sambar\cgi-bin\pot\amos\fruity_sub.pl


We know nothing about perl, so if someone couldt give an idiot proff ansver we wouldt be more that gratefull.

0
Comment
Question by:freak022398
[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
  • 2
  • 2
4 Comments
 

Author Comment

by:freak022398
ID: 1828658
Edited text of question
0
 
LVL 28

Accepted Solution

by:
sybe earned 80 total points
ID: 1828659
Check if you have your virtual directory for the perl scripts marked as executable.

By the way, some more information about operating system and webserver is helpful for answering your question.

0
 

Author Comment

by:freak022398
ID: 1828660
win95 it is.
Marking directory as executable... how is that done??
0
 
LVL 28

Expert Comment

by:sybe
ID: 1828661
which webserver do you use, and which operating system ?
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

636 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