Link Details

Link 1079989 thumbnail
User 448255 avatar

By dotCore
via perltricks.com
Submitted: Dec 12 2013 / 19:52

The Singleton is a well-known object oriented design pattern that allows only one object of a class to be created. It's often cited as the most popular design pattern from the original "gang of four" book. But when should you use it in Perl and how?
  • 2
  • 0
  • 67
  • 23

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Upvoters (2)



Downvoters (0)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java