Re: Apache2::Request::param returns () despite parameters in URI, but only under Strawberry Perl

Michael Ludwig <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <20101111205932.GB804@wladimir>
Kevin Field schrieb am 11.11.2010 um 13:17 (-0500):

> This is a cross-post from StackOverflow.

URL?

> Under Strawberry Perl, I get:
> 
>   "/?login=0", (), "No error" at C:/myweb/index.pl line 10.
> 
> ...but under ActiveState Perl (see below), I get:
> 
>   "/?login=0", "login", "No error" at C:/myweb/index.pl line 10.
> 
> So I know my login parameter is making it in at some point under
> Strawberry, because the unparsed URI contains it. Why is it then not
> being parsed correctly?

A bug in the Apache2::Request/mod_apreq2 version shipping with
Strawberry? Seems unlikely, though.

> LoadFile "C:\strawberry\perl\bin\perl510.dll"
> # Apache/2.2.17 (Win32) mod_apreq2-20090110/2.7.1 mod_perl/2.0.4
> Perl/v5.10.1

> LoadFile "C:\Perl\bin\perl510.dll"
> # Apache/2.2.17 (Win32) mod_apreq2-20051231/2.6.2-dev
> mod_perl/2.0.4-dev Perl/v5.10.1

> I'd really like to try switching to Strawberry if possible, mostly
> because ActivePerl's DBD::Pg builds are getting stale, and the latest
> upgrade to Apache 2.2.17 has been causing random/intermittent Apache
> service crashes for us these past couple weeks, I think related to
> DBD::Pg.

Try reporting it on the ActivePerl mailing list.

-- 
Michael Ludwig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.