Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Be careful when using singletons. They are often a sign that you need to rethink a design. Then can encourage close-coupling of objects and become global variables by another name. There is a nice developerworks article on the subject. Even if you can't read Java it's worth a once over. That said - logging objects is one of the places that it's probably justified.... so I guess I'll just shutup and go away ;-) In reply to Re^2: single instance shared with module
by adrianh
|
|