Subject: | Error in the sample code |
Sorry if this isn't the right place to report it, but I'm a n00b perl
user :). In the sample code present on
http://search.cpan.org/dist/Log-Dispatch-DBI/lib/Log/Dispatch/DBI.pm,
the following example is given:
...
$log->log(level => 'emergency', messsage => 'something BAD happened');
The correct example would be:
$log->log(level => 'emergency', message => 'something BAD happened');
(one s-es less in the message part).
Have a good day,
Cd-MaN