Required attributes which fail only when trying to use them
This module adds a "lazy_required" option to Moose attribute declarations. The reader methods for all attributes with that option will throw an exception unless a value for the attributes was provided earlier by a constructor parameter or through a writer method.
$
pkg install p5-MooseX-LazyRequireOrigin
devel/p5-MooseX-LazyRequire
Size
15.7KiB
License
ART10, GPLv1+
Maintainer
perl@FreeBSD.org
Dependencies
4 packages
Required by
2 packages