Valhalla Legends Forums Archive | General Programming | Can i have some help installing Perl?

AuthorMessageTime
MrRaza
I downloaded ActiveState of www.perl.com and followed there instructions but i dont know if it is installed right. The book i bought said that all you need is a text editor and the file should be saved as a .pl file. Once you click the .pl file it should load the script thats in the file, but sadly that's not happenning. So i was wondering if anyone could post step-by-step instructions to help me out. :-/
December 21, 2002, 10:33 AM
iago
When I installed perl, it didn't associate Perl files automatically.  Try going to the command prompt and typing "perl MyProgram.pl"

If that doesn't work, double click a .pl program and when it asks you what to run it with, find perl.exe and use that.
December 21, 2002, 2:27 PM
Thing
To find out if you have it installed correctly, at a command prompt type perl -v
If you get any errors, you did it wrong.

Since you are using a Windows machine, you should use this editor (Notepad Sucks!) [url]https://davnit.net/bnet/vL/files/WinVi32.exe[/url]

This post should probably be moved to a different board.
December 21, 2002, 2:27 PM
MrRaza
well i guess i installed it wrong...

hrmm
December 21, 2002, 7:15 PM
Nova1313
I'd suggest that you run perl scripts from dos...

in all os's just goto run then command...
in xp use cmd to get long file name support

also make sure that you have perl in your path (the path variable for the system so that it can see it's binaries)

if not add it. In xp i believe you do it through the system menu under control panel then you have to click advanced under one of the tabs and you can edit the enviornmental variables. You should also try associating .pl files with the perl binary.

I believe if you just double click them they may run finish and then close the window so thats why I suggest you run them through command line.
December 22, 2002, 5:05 AM
Thing
What OS are you running?
What Web Server are you running?

I have installed Perl on a variety os OS/WS combinations.
If you can answer those two questions, I can help you more.
December 22, 2002, 12:19 PM
MrRaza
on this comp win98.
i dont have a web server yet.
December 23, 2002, 3:14 PM
Thing
First make certain you have the correct version of Windows Installer:
[url]http://downloads.activestate.com/contrib/Microsoft/MSI2.0/9x/InstMsiA.exe[/url]

Next install Apache:
[url]http://apache.secsup.org/dist/httpd/binaries/win32/apache_2.0.43-win32-x86-no_ssl.msi[/url]

Next install Perl:
[url]http://downloads.activestate.com/ActivePerl/Windows/5.8/ActivePerl-5.8.0.804-MSWin32-x86.msi[/url]

These installers should configure everything automatically for you.  You can check your apache installation by opening a browser and going to this url http://localhost  You can check your perl installation by typing perl -v at a command prompt.
December 24, 2002, 10:33 AM
MrRaza
Everything seems to be in order.


btw can i have some more information on that apache web server program.
- Thank you very much.  ;D
December 24, 2002, 1:29 PM

Search