>>>>> "SC" == Simon Cozens <[EMAIL PROTECTED]> writes:

  SC> On Mon, Sep 25, 2000 at 02:49:29PM -0400, Uri Guttman wrote:
  >> 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.

  SC> They're special subs. They nest and get localized like subs.

in what order? like BEGIN and END? what if you wanted a block scoped
warn handler? i think it would be better to have some explicit way of
setting the handlers at runtime (better than %SIG) to give more
control. maybe instead of use signal, an extension to use warnings. you
can pass it a code ref and/or a list of warnings to enable.

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