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 | |
by arjan (Initiate) on Mar 31, 2010 at 14:55 UTC | |
by Anonymous Monk on Mar 31, 2010 at 15:31 UTC |