in reply to Overloading ref() just like ->isa and ->can?

I find the best approach is to find the person who sneaked it into the code and administer friendly beatings until it disappears. ref breaks polymorphism. That's a no-no.

  • Comment on Re: Overloading ref() just like ->isa and ->can?

Replies are listed 'Best First'.
Re^2: Overloading ref() just like ->isa and ->can?
by dragonchild (Archbishop) on Apr 18, 2006 at 19:42 UTC
    You mean like HTML::Template?

    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?

      Yep. If a properly-implemented proxied or tied object won't make it through the ref call correctly, it's the use of ref that's wrong.