Subject: | missing dollar sign in Log::Common |
This is a bug in Log-Common 1.00 (which is, a little suprisingly to me,
the most recent version). The dollar sign is missing from a scalar argument to flock; what should be $LOG is given as LOG. Consequently, this module gives the following error on each call to the error() method:
flock() on closed filehandle Log::Common::LOG
at /usr/local/wsinfo/lib/Log/Common.pm line 78.
This is in 5.6.0, if that matters in this case, using the code straight from the SYNOPSIS section of the module's pod.
I've enclosed a patch. This the first time I've ever sent any sort of patch - if it's not in the right format, let me know.
-- Mike F.