• Welcome to Valhalla Legends Archive.
 

Can i have some help installing Perl?

Started by MrRaza, December 21, 2002, 04:33 AM

Previous topic - Next topic

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. :-/

iago

#1
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.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Thing

#2
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!) http://forum.valhallalegends.com/files/WinVi32.exe

This post should probably be moved to a different board.
That sucking sound you hear is my bandwidth.

MrRaza

#3
well i guess i installed it wrong...

hrmm

Nova1313

#4
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.

Thing

#5
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.
That sucking sound you hear is my bandwidth.

MrRaza

#6
on this comp win98.
i dont have a web server yet.

Thing

#7
First make certain you have the correct version of Windows Installer:
http://downloads.activestate.com/contrib/Microsoft/MSI2.0/9x/InstMsiA.exe

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

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

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.
That sucking sound you hear is my bandwidth.

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