Re: Singleton

2006-07-21 Thread Rob Dixon
Klaus Jantzen wrote: > Hi, > > in the paper "The Singleton Design Pattern" by b. d. foy [The Perl > Review (0,1) p.19] the constructor > (listing 1, line 12) says > >> $singleton = bless \$self, $class; << > i.e. it uses the reference to $self whe

Singleton

2006-07-21 Thread Klaus Jantzen
Hi, in the paper "The Singleton Design Pattern" by b. d. foy [The Perl Review (0,1) p.19] the constructor (listing 1, line 12) says >> $singleton = bless \$self, $class; << i.e. it uses the reference to $self whereas in other documentation I always find >> bless

Re: Singleton logger

2004-04-20 Thread Wiggins d Anconia
> Hi > > I need a GL::Logger wich implements Class::Singleton > to be a singleton and Log::Log4perl to can log amy > message into a file. Here is the module source: > - > package GL::Logger; > >

Singleton logger

2004-04-20 Thread Graf László
Hi I need a GL::Logger wich implements Class::Singleton to be a singleton and Log::Log4perl to can log amy message into a file. Here is the module source: - package GL::Logger; use Class::Singleton; use vars qw( $ERROR