Turn your Moo class into 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.
$
pkg install p5-MooX-SingletonOrigin
devel/p5-MooX-Singleton
Size
40.0KiB
License
ART10, GPLv1+
Maintainer
dgeo@centrale-med.fr
Dependencies
2 packages
Required by
1 packages