>>>>> "NW" == Nathan Wiger <[EMAIL PROTECTED]> writes:

  >> It sounds really stoopid to say C<$SIG{__WARN__}> on a machine which
  >> doesn't have signals.

  NW> Indeed. It is also worth noting that people on -flow have been hashing
  NW> out safe signals through a "use signal" pragma, which would remove %SIG
  NW> altogether.
 
  >> Instead, let's implement them as magic subroutines C<WARN> and C<DIE>
  >> like C<BEGIN> and C<END>. This seems more consistent anyway. Well, to
  >> me.


and how do they nest or get localized? with use signal you can install a
lexically scoped handler or a package level handler. with WARN it looks
like a global handler to me.

uri

-- 
Uri Guttman  ---------  [EMAIL PROTECTED]  ----------  http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page  -----------  http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net  ----------  http://www.northernlight.com

Reply via email to