Graham Barr wrote:
> 
> The catch syntax is less flexable, if you wanted to catch two
> different types with the same code you are forced to either
>   * duplicate code
>   * put it in a sub, which is away from the statement.
>   * put a switch statement in the otherwise

Could catch lists of types:

        try {

        }
        catch Exception::Thingy, Exception::Whingy
        with {


-- 
John Porter

Reply via email to