>>>>> "PS" == Peter Scott <[EMAIL PROTECTED]> writes:

PS> 1. When an exception is thrown perl looks for the enclosing try block; if 
PS> there is none then program death ensues.

Err, if there isn't one. Don't throw the exception. Stop processing but
don't throw. You are imposing a style on your caller.

A message would be appropriate (ala, die or warn)

Also a use (within main or if it can work lexically) that would mean
die_if_exception_thrown. Would treat the main routine as if it were
wrapped in a try block that doesn't catch any exceptions.

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

Reply via email to