Thanks, Alan, Gregory and Jürgen,
I tried your suggestions to no avail on my home based Windows XP system. I
have located a linux based
web server that runs both myscript.cgi and myscript.pl with the expected
results showing up in my browser.
I am able to develope now. I'll get back to my home system later this week.
Thanks again,
Joe Burnett
"Alan C." <> wrote in message
news:...
> "Joe Burnett" <> wrote in message
> news:KluZa.113785$Ho3.14438@sccrnsc03...
> > Hello,
> >
> > I am trying to run a trivial perl script, but the results either get
> > displayed in a dos window,
> > or the source code gets displayed in a browser. The former happens when
I
> > open the script
> > in IE with a pl extension. The latter happens if I open the script with
a
> > cgi extension.
>
> But how is the open accomplished? is it like do you enter into the
address
> bar of the browser something near/like:
>
> http://localhost/cgi-bin/myscript.cgi
>
> >Both
> > scripts reside in "C:\Program Files\Apache Group\Apache2\cgi-bin".
>
> File location looks ok. What happen if U do
> localhost/cgi-bin/scriptname.cgi as I mentioned further above
>
> --
>
> http://perl.about.com/cs/beginningperl/
>
> http://perl.about.com/cs/intermediateperl/
>
> very near those above two is also some cgi info. a "Perl 101 class" which
> focuses on Perl cgi & web server a few basics
>
> --
> Alan.
>
>
>