Solved

Problems running perl scripts

Posted on 1998-05-17
4
208 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
  • 2
  • 2
4 Comments
 

Author Comment

by:freak022398
Comment Utility
Edited text of question
0
 
LVL 28

Accepted Solution

by:
sybe earned 40 total points
Comment Utility
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
Comment Utility
win95 it is.
Marking directory as executable... how is that done??
0
 
LVL 28

Expert Comment

by:sybe
Comment Utility
which webserver do you use, and which operating system ?
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
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…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now