martin,
check out:
http://www.ora.com/catalog/wrapmod/errata/wrapmod.699
Well, I guess fair is fair, the correction for page 146 (unless = if)
was there, I should've done my research better ...
anyway I do seem to be needing 'use Apache::Constants qw(:common);' to
run under strict
"DT" == Drew Taylor [EMAIL PROTECTED] writes:
DT after changing "unless" to "if". Can anyone check what Apache defaults
DT to if no status code is returned? I'm guessing it's "OK".
In perl, if you have no explicit return statement, the last value
computed (or returned from another sub call)
hi,
I've been developing with mod_perl for a while, but, thanks to
Richter's Embperl module and the excellent backwards compatibility
(regarding CGI.pm) I had never got anywhere near Apache::Request -- for
production, that is.
Now I have this very silly question, that I've
martin langhoff wrote:
hi,
I've been developing with mod_perl for a while, but, thanks to
Richter's Embperl module and the excellent backwards compatibility
(regarding CGI.pm) I had never got anywhere near Apache::Request -- for
production, that is.
Now I have this
hanks,
Tim Tompkins
--
Programmer / Staff Engineer
http://www.arttoday.com/
--
- Original Message -
From: "martin langhoff" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 02, 2000 1:37 PM
Subject: $r
... it made no difference ... :(
Drew Taylor wrote:
I believe all you need to add is "return OK;" after your print
statement. Without that, Apache doesn't know what the status of the
request should be.
martin langhoff wrote:
... it made no difference ... :(
Drew Taylor wrote:
I believe all you need to add is "return OK;" after your print
statement. Without that, Apache doesn't know what the status of the
request should be.
Doh. I missed what Tim caught. I believe Apache will assume
On Mon, 2 Oct 2000, martin langhoff wrote:
Now shouldn't it be an 'if' instead of an 'unless'?
yes, it should be an `if'. your script works fine for me with that
change.
Thanks Tim and all,
my gathering is that the sample script on page 146 of the Eagle:
- needed a 'use Apache::Constants(:common);' line
- needed a 'return OK;' line at EOF
- had an 'unless' that should've been an 'if'.
for-the-record, I did check
doug, lincoln,
looks like www.modperl.com needs a link to errata.
martin,
check out:
http://www.ora.com/catalog/wrapmod/errata/wrapmod.699
martin langhoff wrote:
Thanks Tim and all,
for-the-record, I did check www.modperl.com looking for an
errata.
marks down for O'Reilly
10 matches
Mail list logo