Subject: | Problem with Perl module DBI-1.616 |
Date: | Sun, 3 Jul 2011 15:21:04 +0200 |
To: | "H.Merijn Brand" <h.m.brand [...] xs4all.nl> |
From: | Norbert Gruener <nog [...] MPA-Garching.MPG.DE> |
Hi Merijn,
on the weekend I have upgraded to DBI version 1.616 and afterwards one
of my Perl scripts did not work anymore.
Please find attached a short script to reproduce my problem. When I
run it I will get the following error message
Can't use string ("gconfd-nog") as an ARRAY ref while "strict refs"
in use at /usr/local/lib/perl/5.10.0/DBI/DBD/SqlEngine.pm line 688.
I have looked into the function 'list_tables' in the module
"DBI::DBD::SqlEngine". The attached patch will fix my problem. Maybe
you can have a look into it to check if this is a proper solution.
Cheers,
Norbert
--
+-------------------------------------------------------------------+
| Norbert E. Gruener http://www.MPA-Garching.MPG.de/~nog/ |
| Max-Planck-Institut <nog@MPA-Garching.MPG.de> |
| fuer Astrophysik |
| PGPprint(RSA): 66 64 C0 D0 6F 1A 16 02 C2 C6 37 83 3A 5F 88 9B |
| PGPprint(DH): 8B9A CB28 79DC 4C4F 5A0F 08A8 2771 2A99 A091 FBE8 |
| PGPprint(DSS): 8900 2CB4 F3D3 124F 7ED2 F681 EA2D 11CA BE19 6642 |
+-------------------------------------------------------------------+
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.