and examine it for the location of Exporter.pm. Make sure it's anchored in the right path.#!/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;
--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}
In reply to Re^3: error in perl with mysql
by shmem
in thread error in perl with mysql
by kalaisuresh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |