|Perl: the Markov chain saw|
Subclassing L4P appears to generate fixed category log messagesby Bloodnok (Vicar)
|on Feb 20, 2013 at 14:29 UTC||Need Help??|
Bloodnok has asked for the
wisdom of the Perl Monks concerning the following question:
Hi there fellow monasterians ,
I appear to have encountered an unexpected problem whilst trying to extend Log::Log4perl by way of subclassing it as in (simple form) ...
However, when the script is run, the output is
- the, not necessarily clear, problem is that although the package name and line number are correct (as in main::44), the category of the logged message is always L4P.SubClass c/w the expected value of main.
Question is, have I done something wrong in my code or is there actually something wrong ?
As always, any help &/or hints will be gratefully received.
TIA & rgds ,
A user level that continues to overstate my experience :-))