MooseX::Singleton::Meta::Class
This metaclass is where the forcing of one instance occurs. The first call to construct_instance is run normally (and then cached). Subsequent calls will return the cached version.
construct_instance
To install MooseX::Singleton, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::Singleton
CPAN shell
perl -MCPAN -e shell install MooseX::Singleton
For more information on module installation, please visit the detailed CPAN module installation guide.