Class::LazyFactory - Base class factory for lazy-loaded concrete classes

Class::LazyFactory is a base class for factory classes. Concrete classes are lazy loaded, i.e. dynamically "require()"d, and instances of the concrete classes are constructed. By using a factory method design pattern, one can provide a consistent int...

DTADY/Class-LazyFactory-0.02 - 28 Jan 2009 07:33:03 GMT - Search in distribution

constant::defer - constant subs with deferred value calculation

"constant::defer" creates a subroutine which on the first call runs given code to calculate its value, and on any subsequent calls just returns that value, like a constant. The value code is discarded once run, allowing it to be garbage collected. De...

KRYDE/constant-defer-6 - 20 Feb 2015 08:01:10 GMT - Search in distribution

2 results (0.054 seconds)