2 results (0.361 seconds)
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 the second and subsequent calls just returns that value, like a constant. The value code is discarded once run, allowing it to be garbage co...

KRYDE/constant-defer-5   (2 reviews) - 11 Feb 2011 22:18:38 GMT - Search in distribution

Hosting generously
sponsored by Bytemark