Many thanks for this. We may be getting there. I'm not too sure how to make the change with regard the IIS user. However, I've done the CGI::Carp thing and a page came back thus:
Software error:
install_driver(mysql) failed: Can't load 'C:/strawberry/perl/vendor/li
+b/auto/DBD/mysql/mysql.dll' for module DBD::mysql: load_file:The spec
+ified module could not be found at C:/strawberry/perl/lib/DynaLoader.
+pm line 200.
at (eval 42) line 3
Compilation failed in require at (eval 42) line 3.
Perhaps a required shared library or dll isn't installed where expecte
+d
at c:\inetpub\wwwroot\index_test.pl line 223
For help, please send mail to this site's webmaster, giving this error message
and the time and date of the error.
----------- END OF ERROR ---------------
I checked out line 200 of DynaLoader.pm and it contains this:
my $libref = dl_load_file($file, $module->dl_load_flags) or croak("Can
+'t load '$file' for module $module: ".dl_error());
But then immediately before this is the following comment:
# Many dynamic extension loading problems will appear to come from
# this section of code: XYZ failed at line 123 of DynaLoader.pm.
# Often these errors are actually occurring in the initialisation
# C code of the extension XS file. Perl reports the error as being
# in this perl code simply because this was the last perl code
# it executed.
Down the rabbit hole we go . . .
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.