At 10:13 AM 8/23/00 -0600, Tony Olekshy wrote:
>Making throw a method of Exception just means we don't have to say
>
> throw Exception->new("Can't foo.", tag => "ABC.1234", ...);
>
>and it means throw isn't a new keyword, and that throw $@ can,
>invoked now as an instance method rather than a constructor,
>do the right thing.
>
>However, a bare C<throw> doesn't make sense now, because it's a method.
Like I said before, don't let that stop you if you want to make it do
something; you can just make throw a core function as well as a class method.
--
Peter Scott
Pacific Systems Design Technologies
- RE: Exception stack: let's use the @@ list. Brust, Corwin
- RE: Exception stack: let's use the @@ list. Peter Scott
- Re: Exception stack: let's use the @@ list. Tony Olekshy
- RE: Exception stack: let's use the @@ list. Brust, Corwin
- Re: Exception stack: let's use the @@ list. Tony Olekshy
- RE: Exception stack: let's use the @@ list. Brust, Corwin
- Re: Exception stack: let's use the @@ list. Tony Olekshy
- Re: Exception stack: let's use the @@ list. Peter Scott
- RE: Exception stack: let's use the @@ list. Brust, Corwin
- Re: Exception stack: let's use the @@ list. Tony Olekshy
- Re: Exception stack: let's use the @@ list. Peter Scott
- Re: Exception stack: let's use the @@ list. Tony Olekshy
