How do I know which modules are installed?

2001-04-20 Thread Chip Wiegand
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

Re: How do I know which modules are installed?

2001-04-20 Thread Matt Cauthorn
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

Re: How do I know which modules are installed?

2001-04-20 Thread Chip Wiegand
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

Re: How do I know which modules are installed?

2001-04-20 Thread David H. Adler
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

Re: How do I know which modules are installed?

2001-04-21 Thread Matt Cauthorn
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

Re: How do I know which modules are installed?

2001-04-21 Thread Chip Wiegand
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 ' .

Re: How do I know which modules are installed?

2001-04-21 Thread Casey West
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

Re: How do I know which modules are installed?

2001-04-22 Thread Ask Bjoern Hansen
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