[Memphis.pm] Re: CGI: file upload widget processing

Brock Sides bsides at towery.com
Thu Mar 16 17:22:14 CST 2000


On Wed, 15 Mar 2000, cameron walker wrote:

> 
> Now for the next stupid question:
> 
> Where do I get the CGI module referred to in the first couple lines? I presume
> that's what the 'use' is doing.

It's a standard part of the perl distribution. One way to see if you have
a module installed:

[bsides at koala bsides]$ perl -MCGI -e 1
[bsides at koala bsides]$ perl -MNonexistant -e 1
Can't locate Nonexistant.pm in @INC (@INC contains:
/usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005
.).
BEGIN failed--compilation aborted.

Modules that you don't have installed, you fetch from CPAN. You can do
this manually, by going to www.cpan.org, or by using the CPAN module, a
standard part of the perl distribution:

[bsides at koala bsides]$ perl -MCPAN -e shell

Read the documentation on a module with "perldoc":

[bsides at koala bsides]$ perldoc CGI

--
Brock Sides
Unix Systems Administration
Towery Publishing
bsides at towery.com


----------------------------------------------------------------------------
To unsubscribe, please send email to majordomo at pm.org
with 'unsubscribe memphis-pm-list' in the body of the message.
----------------------------------------------------------------------------




More information about the Memphis-pm mailing list