MooseX::ExpiredAttribute::Role::Meta::Attribute - the attached role to meta attribute objects (a trait)
This trait has alias as Expired
Expired
This role should be attached as trait to attributes which should be have expired capability.
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.
This module has been written by Perlover <perlover@perlover.com>
This module is free software and is published under the same terms as Perl itself.
To install MooseX::ExpiredAttribute, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::ExpiredAttribute
CPAN shell
perl -MCPAN -e shell install MooseX::ExpiredAttribute
For more information on module installation, please visit the detailed CPAN module installation guide.