This thread has moved to a slightly different topic, but the error
message you quoted was:
| You need to install the perl-doc package to use this program.
So you just had to run
apt-get install perl-doc
(instead of apt-get you can of course use aptitude or the Ubuntu
Software Center or whatever your favourite way to install packages is).
In this case you don't even have to guess because it tells you exactly
what to do.
But this isn't what the last few messages were about. Ben was
complaining that some core modules (actually only one, CGI::Fast) are
not installed automatically when you install the "perl" package.
While this is strange (I have no idea why CGI::Fast was singled out) I
really don't think that it makes any difference: The package name
follows the same convention as for (almost) all non-core modules, so
when you try to run a FastCGI script and get an error message
Can't locate CGI/Fast.pm in @INC (@INC contains: ...)
you just invoke
apt-get install libcgi-fast-perl
just as you would invoke
apt-get install libtemplate-perl
if you got the message
Can't locate Template.pm in @INC (@INC contains: ...)
You really don't have to know or care that CGI::Fast is a core module
(in fact I didn't know that until this thread, although I've been using
it for years: If it's already installed in system that's nice, and if
it isn't installed, I know how to install it)
If you are going to administrate a Debian (or Ubuntu) system, you will
need a basic understanding of the Debian packaging system. There is no
way around that. And if you are going to use CPAN on a Debian/Ubuntu
system, you will need that, too. Because some packages on CPAN need
header files to compile and libraries to link against, and you will need
to know how to find and install the necessary development packages.
That was why I wrote that anybody who couldn't install CGI::Fast with
apt-get should steer clear of CPAN. If you know enough about Debian to
install arbitrary packages (either from the distribution repository or
CPAN), you won't even notice anything special about CGI::Fast. And if
you can't install CGI::Fast on a Debian system, you won't be able to
install any non-core module from the Debian repository or any module
which needs to compile something from CPAN, either. So the fact that
CGI::Fast is in a separate package is IMHO just a puzzling oddity, it
doesn't turn perl into an "incomplete mess".
> and in this context, I don't mean perl the language or perl the
> interpreter. Not perl the library. Apparently it's perl the module.
I have no idea what you mean by "perl the module".