Dual nature (was Re: Exceptions and Objects)

[email protected] (Chaim Frenkel) 16 Aug 2000 10:16:10 -0400
Newsgroups perl.perl6.language.errors
Message-ID <[email protected]>
>>>>> "TO" == Tony Olekshy <[email protected]> writes:

TO> Using exceptions for failure signalling is a more robust software
TO> engineering technique, but only if your exception handling mechanism
TO> doesn't "encourage" you to drop exceptions of the floor.

Is this proven or just an assertion on your part?

One issue that haven't seen addressed, is how to _not_ have exceptions.

I want to use a core module (non-core can do anything they want) but
I'd like to write it in procedural mode.

	try {
		$obj->method...
	} 
	catch { }
	finally {}

or

	$status = $obj->method...


And have both work properly.

<chaim>
-- 
Chaim Frenkel					     Nonlinear Knowledge, Inc.
[email protected]				               +1-718-236-0183