[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl
Subject: Re: logging $! with $r->log_error
From: Torsten =?iso-8859-1?q?F=F6rtsch?= <torsten.foertsch () gmx ! net>
Date: 2010-12-12 8:41:56
Message-ID: 201012120941.57213.torsten.foertsch () gmx ! net
[Download RAW message or body]
On Friday, December 10, 2010 17:59:23 Mark Copper wrote:
> unless(open MAIL, "| /usr/sbin/sendmail -t -i -F'...' -f'...''"){
> $main::r->log_error("Couldn't open mail: $!");
> return DECLINED;
> }
>
> namely this error:
> [Thu Dec 09 16:32:44 2010] [error] [client ...] Can't call method
> "log_error" on an undefined value at ...
$main::r is not defined here. That is what the message says. Nothing to do
with $!.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic