I tried URI

use URI;
use URI::Escape;

my $uri = URI->new($r->unparsed_uri());
my %args = $uri->query_form();

$r->print($args{"key"});

it works too.


On 3/29/07, Kelvin Wu <[EMAIL PROTECTED]> wrote:

Hi list,

Is there a Apache2::Request module for ActivePerl Win32 (v5.8.8 built for
MSWin32-x86-multi-thread) and mod_perl 2?

I am trying to read parameters from query, the $r->args() call in mod_perl
2 simply returns whole URI rather than key/value hash which mod_perl1 does.
After some research, Apache2::Request does parse query parameters but
ActivePerl seems not provide such module. How can I install this module
under Windows? Or is there any other way to get parameters from GET/POST?

Windows XP, ActivePerl 5.8.8, mod_perl 2, Apache 2.2.3

Thanks


--
Sent from my BlackBerry. Ignore the typos unless they're funny.




--
Sent from my BlackBerry. Ignore the typos unless they're funny.

Reply via email to