in reply to Re: error in perl with mysql
in thread error in perl with mysql

hai, Heavy.pm is in the same path only and also i have /home/httpd/cgi-bin/perl2exe/perl5/lib/5.6.1/Exporter/ i check the permission also that is 755.

Replies are listed 'Best First'.
Re^3: error in perl with mysql
by shmem (Chancellor) on Nov 28, 2006 at 11:06 UTC
    Run the following as CGI
    #!/usr/bin/perl -T use strict; use CGI; my $q = CGI->new; print $q->header, $q->start_html; eval "use DBI"; if ($@) { my $err = $@; print $q->h2("Errors from <i>use DBI</i>:"); print "<pre>\n$err\n</pre>\n"; print $q->h2("%INC:"); print "<pre>\n"; print "$_ => $INC{$_}\n" for sort keys %INC; print "</pre>\n"; } else { print "DBI loaded OK.\n"; } print $q->end_html;
    and examine it for the location of Exporter.pm. Make sure it's anchored in the right path.

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}