in reply to Sharing a log file across classes...
package Factory::Singleton::Log; my $LOGGER = Log::Common->new(SOME PARAMETERS HERE); sub new { my $class = shift; return undef if ref $class; return $LOGGER; } 1; __END__
------
We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Sharing a log file across classes...
by Anonymous Monk on Feb 27, 2002 at 21:00 UTC | |
by dragonchild (Archbishop) on Feb 27, 2002 at 21:04 UTC | |
by Anonymous Monk on Feb 27, 2002 at 22:51 UTC |