
BillKSmith
Veteran
Mar 28, 2011, 5:56 AM
Post #6 of 16
(6846 views)
|
I do not understand what you mean by type "h". It is a good idea to test your installation. Verify the version of perl: At the command prompt type perl -v Verify execution by running "hello world" several ways: Keep everything as simple as possible. Work in your home directory. Create a file called "hello.pl" That file should contain one line Execute that file by typing That should print "hello world" in your command window. Now test the file type association by typing It should work the same as before. Now try a method that is not set up by default in version 5.8.8. again at the command prompt type That may run as before. If not, and you want that feature, check your help files. Now add a line to your script.
print "hello world\n"; <>; This change requires you to type <enter> before the script ends. In windows, find the icon for your hello script and double-click it. A command window should appear with the words "hello world". Hit the enter-key and command window should close. If everything works so far, repeat the experiment with your own script. If not, you probably do have to reinstall perl. If your script also works, you are ready to begin debugging your server problem. Good Luck, Bill
|