NAME
MooseX::ExpiredAttribute::Role::Meta::Attribute - the attached role to meta attribute objects (a trait)
This trait has alias as Expired
DESCRIPTION
This role should be attached as trait to attributes which should be have expired capability.
EXAMPLE
use MooseX::ExpiredAttribute;
has 'config' => (
traits => [ qw( Expired ) ],
is => 'rw',
isa => 'HashRef',
expires => 5.5,
lazy => 1,
builder => '_build_config',
);
Please read "SYNOPSIS" in MooseX::ExpiredAttribute for more examples and how to use.
SEE ALSO
AUTHOR
This module has been written by Perlover <perlover@perlover.com>
LICENSE
This module is free software and is published under the same terms as Perl itself.