On Tue, 23 May 2000, Amy wrote:

> 
> Is there an easy way to override warn() the way Apache 
> overrides die() - I'm trying to disable warn() calls in
> production without changing any code. I think I should 
> probably be using Apache::Log, but is there an easier 
> way to accomplish this without changing code?

See the exceptions section in guide/perl.html and follow the same
procedure as for overloading die().

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org http://xml.sergeant.org


Reply via email to