89695a6506
Role::Tiny role that provides "instance" method turning your object into singleton. NOTE: Subsequent calls to "instance" will return the singleton instance ignoring any arguments. This is different from MooseX::Singleton which does not allow any arguments. WWW: https://metacpan.org/pod/MooX::Singleton PR: 237109 Submitted by: Geoffroy Desvernay <dgeo@centrale-marseille.fr> Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19857
8 lines
305 B
Text
8 lines
305 B
Text
Role::Tiny role that provides "instance" method turning your object into
|
|
singleton.
|
|
|
|
NOTE: Subsequent calls to "instance" will return the singleton instance ignoring
|
|
any arguments. This is different from MooseX::Singleton which does not allow any
|
|
arguments.
|
|
|
|
WWW: https://metacpan.org/pod/MooX::Singleton
|