This is still driving me crazy. That one script stopped breaking (I couldn't tell you why), and another started. It (currently) breaks consistantly when I try to run it:
$ perl ./hist2rss.pl hist2rss.pl: Attempt to free unreferenced scalar: SV 0x87edcb4 at /hom +e/user/lib/modules/Class/DBI.pm line 1127. hist2rss.pl: Attempt to free unreferenced scalar: SV 0x87e55bc at /hom +e/user/lib/modules/Class/DBI.pm line 1127. <h1>Software error:</h1> <pre>MyApp::Sets can't SELECT id, id, setnumber, setrev, name, theme, +year, pcs, figs, picture, msrp, instructions, inventory FROM SETS WHERE ( ID = ? ) : Not an ARRAY reference at /home/user/lib/modules/Class/DBI.pm line 1 +126. at /home/user/lib/modules/Class/DBI/AbstractSearch.pm line 32
Ok, great, I say - I'll run it under the debugger, awesome. Well, not so much - I'm running it in the debugger, and just telling it to continue:
$ perl -d ./hist2rss.pl Loading DB routines from perl5db.pl version 1.23 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. main::(./hist2rss.pl:15): my $db = new MyApp::DB; DB<1> c hist2rss.pl: Attempt to free unreferenced scalar: SV 0x88044c0 at /hom +e/user/lib/modules/Class/DBI.pm line 1127. hist2rss.pl: Attempt to free unreferenced scalar: SV 0x8c47508 at /hom +e/user/lib/modules/Class/DBI.pm line 1127. hist2rss.pl: Attempt to free unreferenced scalar: SV 0x8c62818 at /hom +e/user/lib/modules/Class/DBI.pm line 1127. hist2rss.pl: Attempt to free unreferenced scalar: SV 0x8c62174 at /hom +e/user/lib/modules/Class/DBI.pm line 1127. hist2rss.pl: Attempt to free unreferenced scalar: SV 0x8c629f8 at /hom +e/user/lib/modules/Class/DBI.pm line 1127. hist2rss.pl: Attempt to free unreferenced scalar: SV 0x8c62b00 at /hom +e/user/lib/modules/Class/DBI.pm line 1127. hist2rss.pl: Attempt to free unreferenced scalar: SV 0x8c650d8 at /hom +e/user/lib/modules/Class/DBI.pm line 1127. hist2rss.pl: Attempt to free unreferenced scalar: SV 0x8c65294 at /hom +e/user/lib/modules/Class/DBI.pm line 1127. hist2rss.pl: Attempt to free unreferenced scalar: SV 0x8c65c6c at /hom +e/user/lib/modules/Class/DBI.pm line 1127. hist2rss.pl: Attempt to free unreferenced scalar: SV 0x8c66c24 at /hom +e/user/lib/modules/Class/DBI.pm line 1127. hist2rss.pl: Attempt to free unreferenced scalar: SV 0x8c65ec4 at /hom +e/user/lib/modules/Class/DBI.pm line 1127. Debugged program terminated. Use q to quit or R to restart, use O inhibit_exit to avoid stopping after program termination, h q, h R or h O to get additional info. DB<1> exit
And it just completes it's run without any error. What's the deal? Why would it NOT break under the debugger, without me doing anything?

-- zigdon


In reply to Re^13: weird Class::DBI::AbstractSearch problem by zigdon
in thread Class::DBI::AbstractSearch and SpeedyCGI by zigdon

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.