Patterns in Perl
6
Why Use a Singleton?
Avoid having to synchronize access to a resource
For example, log files
Avoid repeating expensive object construction
DBI connection or socket
Centralize configuration
Application config object
< < Previous
|
Index
|
Next >>
Copyright © 2005-2006 David Rolsky