Data::Object::State
Data-Object Singleton Declaration
package Registry; use Data::Object State; extends 'Environment';
Data::Object::State modifies the consuming package makes it a singleton class.
This package implements the following methods.
RENEW(Any @args) : Object
The RENEW method resets the state and returns a new singleton.
my $RENEW = $self->RENEW(@args);
To install Data::Object, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Object
CPAN shell
perl -MCPAN -e shell install Data::Object
For more information on module installation, please visit the detailed CPAN module installation guide.