|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: CTlib.pm & warnings
Date: Oct 7 1997 9:31PM
Chuck Griffith wrote:
>
> When I am using CTlib in a cgi script, I want full control of error
> handling. Unfortunately CTlib.xs has 'warn' calls in it that are
> called when some error conditions occur. This causes problems because
> STDERR output from it has to be routed to /dev/null to keep the web
> server from thinking that there is a problem rather than me sending
> the problem information to the user.
>
> Is there some other way that I can turn these warn calls off without
> dumping all STDERR output?
$SIG{__WARN__} = sub { };
will ignore all warnings.
I agree that this is a bug, however...
Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler@datamig.com -||- http://www.mbay.net/~mpeppler
|