MooX::LazyRequire - Required attributes which fail only when trying to use them
package MyClass; use Moo; use MooX::LazyRequire; has attr => ( is => 'rw', lazy_required => 1 );
MooX::LazyRequire creates attributes that are required, but will fail on use rather that on object creation.
haarg - Graham Knop (cpan:HAARG) <haarg@haarg.org>
None so far.
Copyright (c) 2014 the MooX::LazyRequire "AUTHOR" and "CONTRIBUTORS" as listed above.
This library is free software and may be distributed under the same terms as perl itself.
To install MooX::LazyRequire, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooX::LazyRequire
CPAN shell
perl -MCPAN -e shell install MooX::LazyRequire
For more information on module installation, please visit the detailed CPAN module installation guide.