Re: Strangeness with Carp under mod_perl

2000-12-21 Thread Doug MacEachern
On Tue, 10 Oct 2000, darren chamberlain wrote: Hi All. This is a curiosity question, mostly. I have a simple method of sending debugging messages to the error log: use constant DEBUG = 1; # Set to 0 to turn off debugging throughout sub debug ($) { if (DEBUG) { return carp

Strangeness with Carp under mod_perl

2000-10-10 Thread darren chamberlain
Hi All. This is a curiosity question, mostly. I have a simple method of sending debugging messages to the error log: use constant DEBUG = 1; # Set to 0 to turn off debugging throughout sub debug ($) { if (DEBUG) { return carp sprintf "[%s] [%s] %s", scalar caller, scalar localtime,

Re: Strangeness with Carp under mod_perl

2000-10-10 Thread Honza Pazdziora
On Tue, Oct 10, 2000 at 01:33:03PM -0400, darren chamberlain wrote: Any ideas as to why this is being reported like this? It is being called from with a handler, not from /dev/null. :) Because there isn't any actual file associated from the handler. It's just a code being executed, with no