One reason that we request a runnable snippet that replicates the problem is so that we can see what on earth you're talking about. Another reason is so we can see where the error is (describing what you're doing doesn't usually lead to specific answers). And yet another reason is that many times as you boil your big code down to a small snippet replicating the problem, you yourself will discover what it is that you're doing wrong.

Without any real code to look at, one thing I can advise is to be sure you're checking for success upon opening the DB, fetching from it, and so on. Sometimes the place where the obvious trouble is happening could have been predicted if some of the less obvious places were error-checked leading up to that point.


Dave


In reply to Re: db commit is not happening properly with Rose::DB by davido
in thread db commit is not happening properly with Rose::DB by shree

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.