in reply to How do I install CGI ?
CGI is part of the standard Perl distribution, so you should already have it. To verify whether or not it is installed, from the command line you can type:
perl -MCGI -e 'print $CGI::VERSION'
If it finds CGI.pm, it will print the version number. If it doesn't, it will list the contents of @INC. Verify that @INC is correct. If it's not, you have more serious problems than not finding CGI. If it is correct, you may wish to find out why CGI.pm is not loaded. If someone went through and eliminated some standard modules, it might be easier to reinstall Perl than to go through and install a bunch of missing modules.
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
|
|---|