<?xml version="1.0" encoding="windows-1252"?>
<node id="929745" title="Re: DBI fails to return an error code" created="2011-10-05 06:00:24" updated="2011-10-05 06:00:24">
<type id="11">
note</type>
<author id="492557">
mje</author>
<data>
<field name="doctext">
&lt;p&gt;Are you by any chance the same person that posted on stackoverflow at [http://stackoverflow.com/questions/7432944/undefined-dbierrstr-using-dbi-perl-and-mysql-on-windows-7-x64/7434259] and who posted to dbi-users mailing list at [http://www.mail-archive.com/dbi-users@perl.org/msg34081.html] and reported [https://rt.cpan.org/Public/Bug/Display.html?id=71047]?
&lt;/p&gt;

&lt;p&gt;If so I have tried to help on some of those forums but you need to come up with something demonstrable that anyone else can run. The problem is that every pseudocode version you've posted works fine for me so I can only assume a) you have different versions or b) I've misinterpreted your pseudocode.&lt;/p&gt;

&lt;p&gt;Write a small self contained real example that fails, post it along with your Perl, DBD::mysql and DBI versions and show the exact output of the script which demonstrates $DBI::errstr is not defined. Then if we cannot reproduce it we can help you debug it or perhaps trace it but we need to see a real life full example.&lt;/p&gt;</field>
<field name="root_node">
929639</field>
<field name="parent_node">
929639</field>
</data>
</node>
