in reply to Re^9: Informal Poll: Traits (Long Post Warning!)
in thread Informal Poll: why aren't you using traits?

From a look at the documentation, Class::LazyLoad doesn't seem to support classes that implement cheap operations but can become the full fledged object on demand. Which is what Object::Realize::Later does. There are ways around this that don't need reblessing into the full class I guess, like aggregation/creation of a new instance, but reblessing is the easy/safe way. This is discussed in the Traps section of the documentation.

  • Comment on Re^10: Informal Poll: Traits (Long Post Warning!)

Replies are listed 'Best First'.
Re^11: Informal Poll: Traits (Long Post Warning!)
by dragonchild (Archbishop) on Apr 18, 2006 at 14:07 UTC
    This is true. C::LL supports non-existence or existence. Apparently, O::R::L supports the intermediate state. Neat!

    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?