p5-Scalar-Defer

deferred and lazy evaluation

WWW CVSWeb GITHub
  1. Package version
    p5-Scalar-Defer-0.23p0
  2. Maintainer
    The OpenBSD ports mailing-list

This module exports two functions, "defer" and "lazy", for building
values that are evaluated on demand.

Unlike the "tie"-based Data::Lazy, this module operates on *values*, not
*variables*. Therefore, assigning into $dv and $lv above will simply
replace the value, instead of triggering a "STORE" method call.

  • devel/p5-Exporter-Lite
  • devel/p5-Class-InsideOut