Cool_Hand_Luke:
Firstly, try including CGI w/o the ':standard', as:
Second, what error does it return? Does it say "No CGI.pm in @INC (list of dirs)"? If so, then it's a safe bet to say that CGI.pm is NOT installed on your system. If it is not installed, then installing it can be done by several methods (using the CPAN module, etc).
Thirdly, in order to access the form data, yes CGI.pm has to be installed and included in the script.
And lastly, as a perl beginner, I would strongly suggest that you always start every perl script as:
Code:
#!/usr/bin/perl
use strict;
use warnings;
use strict; will be your worst enemy and your best friend, because it will force your coding style to a certain standard. It will get you writing better code earlier.
This google search will provide you with a plethora of reading material on it's use.
use warnings; is also good because it's provides you with somewhat more informative error messages when things do go wrong in your scripts.
And, if you're getting some error in a perl script that you just can't seem to understand, add
to the script's header. This will provide you with a detailed description of the error, and possible generic causes.. however, using it will slow your script down tremendously, and it's not a good idea to leave this included all the time.
Let me finally add that I'm glad to see someone interested in learning perl, and I also hope that you find as much help as needed to keep your interest going and your success rate high! (=