NAME

Data::Object::State

ABSTRACT

Data-Object Singleton Declaration

SYNOPSIS

package Registry;

use Data::Object::State;

extends 'Environment';

1;

DESCRIPTION

This package modifies the consuming package making it a singleton.

METHODS

This package implements the following methods.

renew

renew(Any @args) : Object

The renew method resets the state and returns a new singleton.

renew example
my $renew = $self->renew(@args);

AUTHOR

Al Newkirk, awncorp@cpan.org

LICENSE

Copyright (C) 2011-2019, Al Newkirk, et al.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

STATUS

SEE ALSO

To get the most out of this distribution, consider reading the following:

Data::Object::Class

Data::Object::Role

Data::Object::Rule

Data::Object::Library

Data::Object::Signatures

Contributing

GitHub