I once saw a command for listing the installed modules, but now cannot
remember it. I am using FreeBSD 4.2 with Apache 1.3.14 and Perl
5.005_03. I want to verify that the module cgi-pm is installed. This is
my own web server at home.
I am new at perl and cgi, but have been building web sites for
If you're looking for a specific module, you can do
this:
perldoc CGI.pm to see if the docs are installed (they
are, as CGI.pm is part of the standard distro.)
Or, you can do this from the command line:
perl -MCGI.pm
...if the prompt then just sits there waiting for you
without messages, it's
On Fri, 20 Apr 2001 20:29:46 -0700 (PDT)
Matt Cauthorn <[EMAIL PROTECTED]> surely must have wrote something
like:
> If you're looking for a specific module, you can do
> this:
> perldoc CGI.pm to see if the docs are installed (they
> are, as CGI.pm is part of the standard distro.)
They are.
> Or
On Fri, Apr 20, 2001 at 09:46:03PM -0700, Chip Wiegand wrote:
> On Fri, 20 Apr 2001 20:29:46 -0700 (PDT)
> Matt Cauthorn <[EMAIL PROTECTED]> surely must have wrote something
> like:
>
> > Or, you can do this from the command line:
> > perl -MCGI.pm
>
> I did this and got the following error:
> s
Sorry -- David H. Adler pointed out that I should've
left off the .pm from the command ' perldoc CGI.pm ' .
He is 100% correct. I should've given you a
screenshot, which would've caught my mistake. Anyhow,
here's one now:
C:\Documents and Settings\mcauthor\Desktop>perldoc CGI
NAME
CGI - Si
Thanks guys,
that works fine, and it responds as expected.
--
Chip
On Sat, 21 Apr 2001 07:21:17 -0700 (PDT)
Matt Cauthorn <[EMAIL PROTECTED]> surely must have wrote something like:
> Sorry -- David H. Adler pointed out that I should've
> left off the .pm from the command ' perldoc CGI.pm ' .
On Fri, Apr 20, 2001 at 08:29:59PM -0700, Chip Wiegand wrote:
: I once saw a command for listing the installed modules, but now cannot
: remember it.
If you want a listing of all the installed modules on your box, try
this:
perldoc perllocal
Of course, this doesn't list all the standard modules
On Fri, 20 Apr 2001, Chip Wiegand wrote:
> I once saw a command for listing the installed modules, but now cannot
> remember it. I am using FreeBSD 4.2 with Apache 1.3.14 and Perl
> 5.005_03.
CGI.pm is part of the standard Perl distribution, so it will
probably be hard to find a perl installati