RECENT POSTS

P5-moosex-lazyrequire

May 26, 2018

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.

WWW http//search.cpan.org/dist/MooseX-LazyRequire/