On Sat, Sep 16, 2000 at 03:36:45AM -0000, Perl6 RFC Librarian wrote:
> The current method in which C<__WARN__> and C<__DIE__> signal handlers are
> used is limited in 2ways:
> 
> =over 8
> 
> =item It does not allow them to accept robust parameter lists.
> 
> =item It does not allow for multiple layers of handlers.
> 
> =back

Random thought[1]:
    Do these things still need to be signal handlers? Why can't they be
ordinary subs? It seems crazy to talk about signal handlers if we may be
building Perl on platforms which don't have signals...
    I suggest "sub WARN" and "sub DIE", although not strongly enough to be
bothered to write an RFC for it.

Simon

[1] I'm not on -language, but I get these random thoughts as I see the
RFCs float past on announce; apologies if this has been brought up before.

-- 
SM is fun.  ADSM is not.
"Safe, Sane, Consensual"... three words that cannot used to describe
ADSM.
    - Graham Reed, sdm.

Reply via email to