On Fri, Aug 04, 2000 at 11:25:49AM +0200, Johan Vromans wrote:
> How does 'it went wrong' know _which_ of the subs went wrong? For
> example:
>
> try {
> open(file1);
> open(file2);
> open(file3);
> } catch {
> error("could not open one of the file(s)");
> }
>
> which is not very helpful to the user. And
$@ becomes an object, which can contain information about what went wrong.
Graham.
- Re: RFC: Modify open() and opendir() to return handles Graham Barr
- Re: RFC: Modify open() and opendir() to return hand... Tom Christiansen
- Re: RFC: Modify open() and opendir() to return hand... Graham Barr
- Re: RFC: Modify open() and opendir() to return hand... Tim Jenness
- Re: RFC: Modify open() and opendir() to return hand... Peter Scott
- Re: RFC: Modify open() and opendir() to return hand... Johan Vromans
- Re: RFC: Modify open() and opendir() to return hand... Steve Simmons
- try/catch (Was: Re: RFC: Modify open() and opendir(... Johan Vromans
- Re: try/catch (Was: Re: RFC: Modify open() and open... Hildo Biersma
- Re: try/catch (Was: Re: RFC: Modify open() and open... Johan Vromans
- Re: try/catch (Was: Re: RFC: Modify open() and open... Graham Barr
- Re: try/catch (Was: Re: RFC: Modify open() and open... Tom Christiansen
- Re: try/catch (Was: Re: RFC: Modify open() and open... Graham Barr
- Re: try/catch (Was: Re: RFC: Modify open() and open... Nathan Wiger
- Re: try/catch (Was: Re: RFC: Modify open() and open... Tom Christiansen
- Re: try/catch (Was: Re: RFC: Modify open() and open... Nathan Wiger
- Re: try/catch (Was: Re: RFC: Modify open() and open... Tom Christiansen
- Re: try/catch (Was: Re: RFC: Modify open() and open... Nathan Torkington
- Re: try/catch (Was: Re: RFC: Modify open() and open... Tom Christiansen
- Re: try/catch (Was: Re: RFC: Modify open() and open... Peter Scott
- Re: try/catch (Was: Re: RFC: Modify open() and open... Steve Simmons
