http://www.perlmonks.org?node_id=863351


in reply to Re^3: eval to replace die?
in thread eval to replace die?

And what does isa() do that isn't subject to exactly the same error vectors a string compare?

It doesn't perform a regular expression match, for one. If you've never changed the text of an exception message and then had to change the regex of handlers, good. I have.

The problem with Java isn't structured exceptions. It's one part "Wow, look at how awesome we can make a fragile hierarchy!" and two parts mandatory structured exceptions.