MooseX::Singleton::Meta::Instance
This instance metaclass manages attribute access and storage. When accessing an attribute, it will convert a bare package to its cached singleton instance (creating it if necessary).
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.