http://qs1969.pair.com?node_id=1155290


in reply to Proper way to create packages and re-usable code?

Some thoughts in a hurry: perhaps it might be a good idea to take a look at Log::Any?

From the friendly manual:

Getting a logger

The most convenient way to get a logger in your module is:
use Log::Any qw($log); our $log = Log::Any->get_logger;

Please see ibidem for details.

IMHO Log4j is fubar - as well as Log::Log4perl is.

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»