Hi,
I have written a request handler in Perl. I recently changed some code
in this to convert
from using CGI within mod_perl to using Apache::Registry. The old code
was ...
$DB-{ApacheReq} = shift;
:
$DB-{Page} = CGI::new();
:
The new code is ...
:
$DB-{ApacheReq}=
Hi there,
On Tue, 4 Feb 2003, Rob Lambden wrote:
I have written a request handler in Perl. I recently changed some code
in this to convert from using CGI within mod_perl to using Apache::Registry.
It's generally best to write handlers. If you have written a handler,
in general I think you
Rob Lambden wrote:
sub SetupPageArguments()
{
my ($DB, $nLoop, @Query, $Key, $Value);
$DB=shift;
@{$DB-{Page}-{'.parameters'}}=$DB-{ApacheReq}-param();
for($nLoop=0; $nLoop=$#{$DB-{Page}-{'.parameters'}}; $nLoop++)
{
Perrin Hawkins wrote:
What's the purpose of that loop?
I am setting up an array in $DB-{Page}-{'.parameters'}[...] with each
entry
being the name of a parameter sent by the client. I am then setting up
an array
for each of these parameters in $DB-{Page}-{ParameterName}[...] with
one value
for