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?
In reply to Re: Perl RSS aggregator
by arjan
in thread Perl RSS aggregator
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |