On Thursday, May 29, 2003, at 02:00 AM, Dominic Mitchell wrote:

One more thing for the change log: notice messages generated by the database now use the perl warning mechanism instead of going to stderr, so they can be trapped if needed.

Oh, sweet! How did you do that? I've been doing this to catch them:


<hack caveat="ugly">

  open STDERR, "| perl -ne 'print unless /: NOTICE:  /'"
    or die "Cannot pipe STDERR: $!\n";

</hack>

Regards,

David
--
David Wheeler                                     AIM: dwTheory
[EMAIL PROTECTED]                              ICQ: 15726394
http://kineticode.com/                         Yahoo!: dew7e
                                               Jabber: [EMAIL PROTECTED]
Kineticode. Setting knowledge in motion.[sm]



Reply via email to