chromatic wrote:
On Monday 26 February 2007 13:50, Michael G Schwern wrote:

But what if isa() is broken or has side effects, hmm?

That's not the caller's problem. Fix the broken code. Don't break more code trying to work around bugs.

I think the problem he's refering to is that if the caller is using eval { $obj->isa(...) } you won't get an error, because it got ignored.

It will just spurious return a false result, not an exception.

Adam K

Reply via email to