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 itself
There 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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.