Thanks for that test script. Funny, I've never run one of those 'Hello' tests before - I just run what I'm working on and get it to work. But it's good to start from the beginning, and it's good to see an example of how the first few lines should be written. (I haven't used 'strict' before and know I should.)

I ran the script and received the 500 internal server error. The error log confirms I don't have CGI.pm installed:

Can't locate CGI.pm in @INC @INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi

I'll see if I can get my host admin to install it for me. I asked them yesterday and they haven't done it yet - maybe if I quote some of your responses they'll see it's a reasonable request.

Regarding my earlier reference to WS_ftp: That's my ftp program. Yes, I'm using a Windows PC at home, but the site is hosted on Linux. I transfer files using FTP. I've never worked with the command line or used Shell access, and I'm assuming that's what everyone is talking about when they say to enter single Perl commands such as the ones needed for installing CGI.pm. So at this point I have no idea how to enter Perl commands other than through a script. Maybe I should just go experiment with the shell access (if I have it - I'm not sure).

I like writing my own HTML and CSS too. I'd be using CGI.pm primarily for it's other features.

Thanks again, everybody. I appreciate your help.
Dean


In reply to Re: Using CGI.pm by Deanimal
in thread Using CGI.pm by Deanimal

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.