473,320 Members | 1,988 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Perl Script

53
Hi,

I am newer to Perl script.I don't know about perl. I have to do one project in perl.
That is already developed.But I have to do some modifications to that.Please tell me what are the components I have to install in our system to run the perl script.My operating system is Windows XP. And how to compile and run the script.Here my major problem is script is not opening.Is there any other alternative to open the script.That file is in .cgi extension.And can we convert that script to html to view the results.Please give me some suggestions.

Thanks
Pavani
Jun 25 '08 #1
7 1670
numberwhun
3,509 Expert Mod 2GB
If I were you, I would start reading the basic books on perl as you have a lot to learn and pick up.

First, you want to go to some place like strawberryperl.com, get the latest distribution and install it.

From there though, you need to learn the basics before you go tackling CGI. A CGI program outputs HTML, so there would be no reason to convert it. Also, you don't compile Perl programs, per se, they are interpreted.

Why not send me a private message (PM) with your email address and I will send you a couple of documents that will really get you a good base in Perl. Do not post your email here as it will be deleted. Emails are not allowed in the forums, thus why I asked you to PM me.

Regards,

Jeff
Jun 25 '08 #2
KevinADC
4,059 Expert 2GB
Install perl, either strawberryperl or activeperl (www.activestate.com) and install an http server, I recommend apache (www.apache.org). google for apache tutorials for how to setup apache to run CGI scripts, there are a number of step by step tutorials out there that will walk you through the setup process.
Jun 25 '08 #3
eWish
971 Expert 512MB
I like using XAMPP for development. Gives me most everything I need to develop applications for the web.

--Kevin
Jun 25 '08 #4
pavanip
53
If I were you, I would start reading the basic books on perl as you have a lot to learn and pick up.

First, you want to go to some place like strawberryperl.com, get the latest distribution and install it.

From there though, you need to learn the basics before you go tackling CGI. A CGI program outputs HTML, so there would be no reason to convert it. Also, you don't compile Perl programs, per se, they are interpreted.

Why not send me a private message (PM) with your email address and I will send you a couple of documents that will really get you a good base in Perl. Do not post your email here as it will be deleted. Emails are not allowed in the forums, thus why I asked you to PM me.

Regards,

Jeff
Thanks for your quick response.I will follow your suggestions .
Here that site is already developed in Perl.That is uploaded in FTP.My problem is I am unable download some files from FTP.They are not opening properly and some files are opening.Please can you tell me What is the reason behind that?
Is there any File permissions to open files.Please give me some suggestions how to resolve this issue.Its very urgent.I installed Perl Express Editor to open cgi files.Is there a need to install any other components in our system to run these files?
Jun 26 '08 #5
numberwhun
3,509 Expert Mod 2GB
Thanks for your quick response.I will follow your suggestions .
Here that site is already developed in Perl.That is uploaded in FTP.My problem is I am unable download some files from FTP.They are not opening properly and some files are opening.Please can you tell me What is the reason behind that?
Is there any File permissions to open files.Please give me some suggestions how to resolve this issue.Its very urgent.I installed Perl Express Editor to open cgi files.Is there a need to install any other components in our system to run these files?
First, you should be able to open any Perl or CGI script with any text editor. No need for Perl Express unless you really want it. As for any other components, you would have to examine the scripts to see what modules are needed to be installed locally.

Regards,

Jeff
Jun 26 '08 #6
KevinADC
4,059 Expert 2GB
perl has nothing to do with why some files can't be opened. It could be a permission problem or other problem, like maybe the file is in use by another program and can't accessed (generally a windows problem).
Jun 26 '08 #7
Kelicula
176 Expert 100+
perl has nothing to do with why some files can't be opened. It could be a permission problem or other problem, like maybe the file is in use by another program and can't accessed (generally a windows problem).
Yes usually if the file you download is garbled or "messed up" it is because it was created on another operating system that is incompatible.

The file should work on the server though.
Try downloading it in ASCII, and then BINARY. If it still doesn't look right, you may just NOT be able to "read" that file with your system.
Jun 28 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: sam | last post by:
I have a function writen in Perl that takes a name-value list (array) as argument and returns a name-value list (array). My question is: How to call this function from PHP and get the returned...
3
by: dpackwood | last post by:
Hello, I have two different scripts that do pretty much the same thing. The main perl script is on Windows. It runs and in the middle of it, it then calls out another perl script that then...
1
by: Julia Bell | last post by:
I would like to run the same script on two different platforms. The directory in which the script(s) will be stored is common to the two platforms. (I see the same directory contents regardless...
9
by: Martin Foster | last post by:
Hi. I would like to be able to mimic the unix tool 'uniq' within a Perl script. I have a file with entries that look like this 4 10 21 37 58 83 111 145 184 226...
3
by: PzYon | last post by:
Hey 2gether! I'm trying to execute a PERL script on the web server when the user presses a button in an ASP.NET Web Application using Visual Basic. The most obvious solution for me seemed to be...
9
by: 8anos | last post by:
Hello, I am new at the community and newbie at programming :) As you may know rapidshare provides a perl script for linux, to upload files at their servers. You can find the original scripts at...
21
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most...
10
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration...
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
3
by: happyse27 | last post by:
Hi All, I am creating the perl script using html form(with embedded javascript inside). When using this html form with javascript alone, it works where the form validation will pop up...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.