At 09:01 AM 8/3/00 -0600, Tom Christiansen wrote:
> >On Thu, Aug 03, 2000 at 08:13:09AM -0600, Tom Christiansen wrote:
> >> No, that's gross.  A failed constructor should return undef.  See my
> >> later message.
>
> >That has always been my view. But then people say "but why did it fail"
> >and having global variables does not scale well.
>
>Syscalls should use errno.  Others may vary.

If we get a good-looking exception throwing/catching mechanism and syntax, 
this may not matter.  Of course, it has to be optional for core functions 
to throw exceptions rather than set $!.  Still need a global variable for 
that...

--
Peter Scott
Pacific Systems Design Technologies

Reply via email to