Perhaps some points for clarification:
- Does the same script run OK without the
use HTTP::Request line? If so, where on your
system is the CGI.pm module found? Is it
part of the
the/full/dir/path/8080/cgi-bin/usr/local tree?
- What operating system is this on? As was raised in the
original question, it's strange that the
error in HTTP::Request is reported as http/request.pm.
This might suggest there's an issue with case sensitivity
and/or tolerance of
file names, if this applies to your operating system.
- The symbolic link you tried was from where to where?
Also, when you say the contents were subsequently displayed
in the browser, was this the contents of the HTTP::Request
module, or of
the script? If it was the script, there may be a
misconfiguration present in your web server; if it's
Apache, see the documents on
using CGI for suggestions.
- Does the path represented by
the/full/dir/path/8080/cgi-bin/usr/local
represent a full perl installation, including a perl
binary? If so, is this perl compatible with the
binary specified by #!/usr/bin/perl used to
invoke your script? Is it the same perl that was
used (successfully) to test the script from the
command line?
As an aside, it probably is a bad idea to have a perl
binary beneath the cgi-bin directory, if that is the
case; if it's not
protected through proper permissions from the outside world,
it's not inconceivable that someone might come along
and try exploring things like
http://your.server/cgi-bin/usr/local/bin/perl,
and if they find it ...