Self logging modules without Moose
Posted
by
stephenmm
on Stack Overflow
See other posts from Stack Overflow
or by stephenmm
Published on 2011-03-11T00:06:52Z
Indexed on
2011/03/11
0:10 UTC
Read the original article
Hit count: 437
I have the same question as was asked here but unfortunately I cannot install Moose and I think the solution described there was particular to Moose. Can someone tell me how to the same in old school "use base" speak?
To reiterate the question, I would like to have my base classes to have an automatic logging mechanism so if the user does not do anything I get some reasonable logging but if the user of my class needs/wants to overwrite it they can.
© Stack Overflow or respective owner