Beefy Boxes and Bandwidth Generously Provided by pair Networks kudra
"be consistent"
 
PerlMonks  

Re^9: Informal Poll: Traits (Long Post Warning!)

by dragonchild (Archbishop)
on Apr 18, 2006 at 08:21 UTC ( [id://544052]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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

Class::LazyLoad doesn't need to do this. I wonder why you felt that Object::Realize::Later needed to do so.

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?
  • Comment on Re^9: Informal Poll: Traits (Long Post Warning!)

Replies are listed 'Best First'.
Re^10: Informal Poll: Traits (Long Post Warning!)
by Corion (Patriarch) on Apr 18, 2006 at 10:05 UTC

    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.

      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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://544052]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.