While writing an apache module, using mod_perl 1.24, I followed the
instructions in my "Writing Apache Modules with Perl and C" book.  The
book told me to get at all parameters, 

        my %params;
        my @args = ($r->args, $r->content); # This line is the line in question.
        while (my($name, $value) = splice @args, 0, 2) {
                push @{$params{$name}}, $value;
        }

The line I commented stops Apache from doing anything.. the code just
halts.  If I don't send anything in POST or GET form, it runs fine, and
feeds the pages.  But if I do send any data, it will stop
running.  CGI::param, however, works fine.  I would prefer not to use it
if I don't have to though.  Bug?

--
Regards,
Justin Wheeler
[EMAIL PROTECTED]



Reply via email to