in reply to (Ovid) Re: Perl/Apache Error
in thread Perl/Apache Error

Thanks for all your replys. This code is for a college computing asignment and we are supposed to use as little of other peoples code as possible. I know that there are huge advantages to using CGI.pm and for other stuff I would use it but if I can avoid it, it would be great as I can get more coding marks (besides, the server this is on only runs on my LAN behind a firewall so security is not a huge concern :) The parse_form that is required is the one by Craig Patchett & Matthew Wright from the CGI/Perl Cookbook.

Replies are listed 'Best First'.
Re: Re: (Ovid) Re: Perl/Apache Error
by extremely (Priest) on Feb 27, 2001 at 04:09 UTC
    To add to the other voices, CGI is now included in the Perl distribution. It is, in effect, a part of the language. Using it is little different than using perl itself. And as others pointed out, burn that rotten book. There is better out there for less cash.

    --
    $you = new YOU;
    honk() if $you->love(perl)

Re: Re: (Ovid) Re: Perl/Apache Error
by PsychoSpunk (Hermit) on Feb 27, 2001 at 03:34 UTC
    Not putting use CGI.pm; is like not putting #include <stdio.h> It's just not done that way.

    In other words, you're not really using other people's code, you're allowing yourself access to a well-accepted (some might even say universally accepted) API that helps you get your job done quicker. In other words, half the essence of programming.

    ALL HAIL BRAK!!!

Re: Re: (Ovid) Re: Perl/Apache Error
by dws (Chancellor) on Feb 27, 2001 at 03:44 UTC
    If your intent is to use as littleof other people's code as possible, at least make sure that it's good code. CGI.pm is good code. Matt Wright has a poor reputation in the security department (and in the Y2K department (and...)))