At 01:25 PM 04/20/00 -0700, Doug MacEachern wrote:
>On Wed, 12 Apr 2000 [EMAIL PROTECTED] wrote:
>
>> Hi All,
...
>> [Mon Apr 10 22:27:01 2000] [error] at
>> /usr/lib/perl5/site_perl/5.005/i386-linux/Apache/SIG.pm line 31.
>>
>> Line 31 is Apache::exit($s);
>
>Apache::exit() calls die() underneath to halt script execution. it tie's
>$@ so it appears empty to avoid such messages, somehow the magic was lost.
>so the message in this case is nothing more than annoying.
Is there a way to make that message go away?
sub check_not_modified {
my $r = shift;
...
$r->status( HTTP_NOT_MODIFIED );
$r->exit;
}
Since check_not_modified() may be a number of subs deep I now must return a
code that heads back to the initial handler where it can simply return
HTTP_NOT_MODIFIED, but it would be better to just exit().
Is there a better way to exit?
Bill Moseley
mailto:[EMAIL PROTECTED]