Tim Noll wrote:
> Tim Noll wrote:
> 
>>I know this is a pretty generic question, but if nobody knows a quick
>>answer, I can get more specific in a later post. Under Apache 1.3.22 /
>>mod_perl 1.26, even while using $SIG{__WARN__} = \&Carp::cluck, I keep
>>getting "Use of uninitialized value." in the Apache error log, with
>>absolutely no line number or back trace or anything else. Does anybody
>>
> know
> 
>>what might cause this? Thanks.
>>
> 
> OK, in answer to my own question, after embedding debug statements all over
> my code, I found the source of my problem: After finally moving this project
> from Win2K to Debian, I neglected to update the driver string in
> DBI->connect. How embarassing ... :-(
> 
> In any case, this still leaves the question: Why was there no line number or
> back trace in the error log?

I guess because any code can disable your setting locally or globally by 
overriding $SIG{__WARN__} using local() or without it after you've 
defined it. Or simply turning warnings off locally or again globally 
(horrors).

_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/

Reply via email to