Hi,
Did you try to see output from the script? Try use CGI::Carp.
At first you have to install it from cpanel, and add the code shown below to you script before use modules.
best regards
BEGIN {
my $homedir = ( getpwuid($>) )[7];
my @user_include;
foreach my $path (@INC) {
if ( -d $homedir . '/perl' . $path ) {
push @user_include, $homedir . '/perl' . $path;
}
}
unshift @INC, @user_include;
}
use CGI::Carp qw(fatalsToBrowser);