Solved

Problems running perl scripts

Posted on 1998-05-17
4
226 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 40 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

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…
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

726 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