in reply to Re: Sharing a log file across classes...
in thread Sharing a log file across classes...
I have used a similar method for sharing database handles amongst several different classes.my $log = Log::Common->new; my $foo = Foo::Foo->new('log' => $log); my $bar = Foo::Bar->new('log' => $log); my $baz = Foo::Baz->new('log' => $log);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re3: Sharing a log file across classes...
by dragonchild (Archbishop) on Feb 27, 2002 at 21:04 UTC | |
by Anonymous Monk on Feb 27, 2002 at 22:51 UTC |