openbsd-ports/devel/p5-Scalar-Defer/pkg/DESCR

7 lines
316 B
Plaintext
Raw Normal View History

2006-11-12 11:28:53 -05:00
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.