in reply to Re^2: Creating a random generator
in thread Creating a random generator
The first step will be to install Perl on your computer. If you have a machine running Microsoft Windows, download and install ActiveState Perl. If you have an Apple computer, chances are good that Perl already is installed. If you have any other brand of computer, the chance that it already has Perl installed isn't that bad either, but ask your machine administrator on how to access it.
Then, you can test the .pl files directly by saving them from a text editor and then running them. On Windows, notepad.exe is an ugly but preinstalled editor. Word and Wordpad are unsuitable for editing programs. On the Apple products I don't know what built-in editors there are except vi and vi is an editor you want to avoid when starting out.
So, if you have saved your Perl program as myprogram.pl, you can give it a local test run by opening a command prompt in the directory you saved the file to and typing
perl -w myprogram.pl
If there were any errors, Perl will tell you so. If not, look if the output matches what you expect.
After that, you can upload the Perl file myprogram.pl to your web account, possibly into the cgi-bin directory, make it executable and then link to that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Creating a random generator
by Lady_Aleena (Priest) on Sep 07, 2007 at 09:16 UTC | |
by Corion (Patriarch) on Sep 07, 2007 at 09:25 UTC | |
by Lady_Aleena (Priest) on Sep 07, 2007 at 19:04 UTC |