Thanks for the suggestion, but I don't see it helping me. Trace revealed my problem because it included output from the connection command, revealing where my immediate problem was. While your code would be better for some things (trace gives the prepare and execute information on two lines while I would really prefer a single combined exposition), I can't see how it would handle the insert query I included in my OP. I'm not good enough at Perl or SQL to build a full SQL parser that would cover all queries without being another possible point of failure that would have to be investigated when next I foul up.

Regards,

John Davies

Update, in case anyone reads this while in search of a similar solution. Increasing the trace level DOES produce the full query, but it also makes the trace information more verbose.


In reply to Re^2: Debugging DBI placeholders by davies
in thread Debugging DBI placeholders by davies

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.