in reply to Perl RSS aggregator

Meanwhile I've found both the answers.

The reason for the error is a bug in TimingBotDBI, that says in the commit subroutine $dbh->commit. Users that have made a connection with mysql with AutoCommit on, will get an error.

It should say:

$dbh->commit if  $dbh->{'AutoCommit'} == 0;

So a commit is only done if the user has a mysql connection with autocommit off. (I've emailed the author)


The answer to the second question is: via IO Layers, like http://search.cpan.org/~akaplan/PerlIO-via-Logger-1.01/lib/PerlIO/via/Logger.pm

This post pointed me in the right direction: http://www.mail-archive.com/log4perl-devel@lists.sourceforge.net/msg00107.html

Kind regards,
Arjan.

P.S. Somehow my post was moved, by Arunbear, why?

Replies are listed 'Best First'.
Re^2: Perl RSS aggregator
by Anonymous Monk on Mar 26, 2010 at 23:14 UTC
    P.S. Somehow my post was moved, by Arunbear, why?

    Thread crapping.

      The article is about TimingBotDBI. I asked about strange behaviour of TimingBotDBI and later identified a bug in TimingBotDBI. That doesn't seem like crapping to me. That's handy for the next reader of the article.

      But thanx for the info, I couldn't have guessed.