On Sun, 25 Oct 2009, Ali M. wrote:
> this simple example from the mastering perl book doesn't work as expected
> both messages from ERROR and DEBUG prints to the error_log file what
> am i missing ??
Apparently, the book author didn't test the code he was writing down ;).
Here's how to do what y
this simple example from the mastering perl book doesn't work as expected
both messages from ERROR and DEBUG prints to the error_log file
what am i missing ??
use strict;
use warnings;
use Log::Log4perl qw(:easy);
Log::Log4perl->easy_init(
{
file => ">> error_log",
level => $ERROR