Solved

Problems running perl scripts

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How can i reset all images size to default in a word file 6 69
PowerShell Get-Help 10 78
exchange, scripts 3 69
[SQL server / powershell] bulk delete table from CSV 8 33
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…
This article will show, step by step, how to integrate R code into a R Sweave document
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
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…

825 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