Thanks for your help!

I should have been more clear. I'm seeing the literal string when I do a select in the database. (Before anyone asks it's not just a different font or something. SELECT * FROM table_name WHERE field IS NULL does not work. It's actually a string with the value 'null'. I've inserted NULL values into the table manually and they work fine.)

I dumped the bound parameters as you suggested (see below). Values being set to undef is what I want, right?

$VAR1 = { '11' => '117082.50', '7' => '116500.00', '2' => '0028363075', '17' => '.0050000', '1' => '08/31/09', '18' => '09-01-09', '16' => '.0650000', '13' => undef, '6' => '462.76', '3' => '1709777884', '9' => '48.54', '12' => undef, '14' => undef, '15' => '736.36', '8' => '631.04', '4' => '08-26-09', '10' => '582.50', '5' => '1' };

In reply to Re^2: DBI Inserting undef as literal string 'null' by marmanold
in thread DBI Inserting undef as literal string 'null' by marmanold

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.