At 22:04 23.04.2002, Perrin Harkins wrote:
>Per Einar Ellefsen wrote:
>>I suppose Apache::Constants could have been extended to return globals if
>>requested... But is there really any gain in that?
>
>Only in that people will not get tripped up by the possible bugs that
>using subroutines as co
Per Einar Ellefsen wrote:
> I suppose Apache::Constants could have been extended to return globals
> if requested... But is there really any gain in that?
Only in that people will not get tripped up by the possible bugs that
using subroutines as constants causes. I guess Apache::Constants is
At 19:51 23.04.2002, Perrin Harkins wrote:
>Per Einar Ellefsen wrote:
>>Well, this one is exported by Apache::Constants, so if you don't want to do
>>$FORBIDDEN = FORBIDDEN;
>>somewhere at the top of your code, you're bound to continue using
>>constants, right?
>
>That's still safer. I used the
> Can anyone tell us if the Apache::Constants all just standard HTTP
> response codes, or are some of them actually Apache-specific?
>
there are over 90 constants in Apache::Constants, which range from HTTP
constants (like FORBIDDEN for 403) to Apache specific ones (like
DECLINED for -1 and
Per Einar Ellefsen wrote:
> Well, this one is exported by Apache::Constants, so if you don't want to do
> $FORBIDDEN = FORBIDDEN;
> somewhere at the top of your code, you're bound to continue using
> constants, right?
That's still safer. I used the constants pragma on a big project and I
saw p
At 19:38 23.04.2002, Perrin Harkins wrote:
>Issac Goldstand wrote:
>>Reposting a question (and the answer) that geoff and I discussed in the
>>IRC room, as I think it's worthwhile to mention...
>>I had the following line of code (actually many of the sort):
>>$r->custom_response(FORBIDDEN=>"File
At 19:29 23.04.2002, Issac Goldstand wrote:
>Reposting a question (and the answer) that geoff and I discussed in the
>IRC room, as I think it's worthwhile to mention...
>
>I had the following line of code (actually many of the sort):
>$r->custom_response(FORBIDDEN=>"File size exceeds quota.");
>
Issac Goldstand wrote:
> Reposting a question (and the answer) that geoff and I discussed in the
> IRC room, as I think it's worthwhile to mention...
>
> I had the following line of code (actually many of the sort):
> $r->custom_response(FORBIDDEN=>"File size exceeds quota.");
>
> And kept gett
Reposting a question (and the answer) that geoff and I discussed in the
IRC room, as I think it's worthwhile to mention...
I had the following line of code (actually many of the sort):
$r->custom_response(FORBIDDEN=>"File size exceeds quota.");
And kept getting errors like:
[Tue Apr 23 19:46:14