freebsd-ports/devel/p5-MooX-Singleton/pkg-descr
Kai Knoblich 89695a6506 New port: devel/p5-MooX-Singleton
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
2019-04-15 09:07:19 +00:00

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