On Tue, Jan 09, 2018 at 10:01:28PM +, Adam Prime wrote:
> libapreq2 (Apache2::Request) does this kind of stuff, or you can use a
> framework that sits on top of mod_perl that handles it for you. If you want
> to write raw handlers, the libapreq2 is probably the way to go.
>
>
Try this:
my %params = $r->args;
my $lang = $params{lang};
On Tuesday, January 9, 2018, 3:36:04 PM CST, Chris Bennett
wrote:
I am using the 2xxx09 version on OpenBSD.
The manual pages are still unfinished on this version,
so I can't find a way to probe
libapreq2 (Apache2::Request) does this kind of stuff, or you can use a
framework that sits on top of mod_perl that handles it for you. If you
want to write raw handlers, the libapreq2 is probably the way to go.
https://httpd.apache.org/apreq/docs/libapreq2/
Adam
On 18-01-09 10:18 PM, Chris
I am using the 2xxx09 version on OpenBSD.
The manual pages are still unfinished on this version,
so I can't find a way to probe for any particular parameter
such as URL?lang=es=yes=no
$r->args(); just produces a string.
Do I really have to parse strings myself or is there a method
that was