Well, I'm running on Windows 98 2nd Ed and I downloaded the most recent ActivePerl version.
If possible, upgrade to Win 2000 or Win XP. Win 98 is just simply too iffy to do anything reliably, let alone run a web server.
Now, my problem right now is: I have the file check.pl, which is the main program. But, my problem is, that I don't know how to run the program. Mainly, what happens is that if I run the *.pl file,How do you "run" the *.pl file? Please explain.
it runs on the ActivePerl console, and all it does is display some HTML code before closing itselfThere is no such thing as "ActivePerl console." I assuming you mean the DOS window. Which, in turn means, that you are typing check.pl at the command line. In which case, it is doing the correct thing -- running in the console. On the other hand, if you see the DOS window flash open when you try to go to check.pl from your web browser, then your script is not sending the correct headers to the web server so it can display the results in a web page. I am assuming you are using PWS since you are on Windows 98. Look at the docs for configuring it correctly, and look at the script to make sure it is sending the correct headers.
As others said, use PPM to install modules such as LWP and others. But, you are likely a few steps away from that if you still have to configure your web server and scripts to work well together.
Welcome to Perl and this site. For better answers, please provide more and exact details on what you are doing.
In reply to Re: Begginer: Need help on implementing web Perl code on Windows
by punkish
in thread Begginer: Need help on implementing web Perl code on Windows
by Deib
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |