++ed by:

1 non-PAUSE user.

James A. Duncan
and 1 contributors

NAME

EO::Singleton - A generic singleton base class

SYNOPSIS

inherit from EO::Singleton:

  package MySingleton;
  use base qw( EO::Singleton );
  ...

then in your code:

  my $a = MySingleton->new;
  my $b = MySingleton->new;

and $a and $b will be the same object.

TODO

I want to be able to call MySingleton->method and have this be equivalent to MySingleton->new->method.

AUTHOR

Tom Insam tinsam@fotango.com

SEE ALSO

EO

COPYRIGHT

Copyright 2004 Fotango Ltd. All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.