in reply to Module Compilation Problem (cmd prompt vs. web)

Are you using Apache as your webserver because, in Apache, when you specify a script alias for the cgi-bin directory you can just use relative paths after that (below from httpd.conf):

ScriptAlias /cgi-bin/ "C:/wereMyCgiBinBeAt/"

So you can replace the horrid (and non-portable) looking:

use lib qw(the/full/dir/path/8080/cgi-bin/usr/local the/full/dir/path/8080/cgi-bin/usr/local/lib/perl5 the/full/dir/path/8080/cgi-bin/usr/local/bin the/full/dir/path/8080/cgi-bin/usr/local/lib/perl5/site_perl the/full/dir/path/8080/cgi-bin/usr/local/bin);
To:

use lib qw( /usr/local /usr/local/lib/perl5 /usr/local/bin /usr/local/lib/perl5/site_perl /usr/local/bin );

On a more serious note...do my eyes decieve me or do you have Perl in the cgi-bin directory? Here's a site that thinks that is a bad idea (checked perlsec but didn't find a specific reference to it though).

Celebrate Intellectual Diversity