libobject-pad-slotattr-lazyinit-perl

lazily initialise Object::Pad slots at first read

Description

Object::Pad::SlotAttr::LazyInit provides a third-party slot attribute for Object::Pad-based classes, which declares that the slot it is attached to has a lazy initialisation method, which will be called the first time the slot's value is read from.

Object::Pad provides a simple syntax for creating object classes, which uses private variables that look like lexicals as object member fields.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Object-Pad-SlotAttr-LazyInit


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libobject-pad-slotattr-lazyinit-perl