=head1 TITLE Change C<$SIG{__WARN__}> and C<$SIG{__DIE__}> to magic subs =head1 VERSION Maintainer: Simon Cozens Date: 24 Sep 2000 Mailing List: perl6-language@perl.org Number: 284 Version: 1 Status: Developing =head1 ABSTRACT It sounds really stoopid to say C<$SIG{__WARN__}> on a machine which doesn't have signals. =head1 DESCRIPTION Perl 6 is going to be portable to all kinds of system, just like Perl 5. Some of those systems won't have signals, so it's time to question why the warn and die hooks are implemented as signal handlers. Instead, let's implement them as magic subroutines C and C like C and C. This seems more consistent anyway. Well, to me. =head1 IMPLEMENTATION Call subroutines C and C instead of the signal handler versions. Everything else stays the same. =head1 REFERENCES None.